Java Linkage error

Tags: #<Tag:0x00007f01bfc24a58> #<Tag:0x00007f01bfc24800>
	<dependency>
		<groupId>org.openmrs.web</groupId>
		<artifactId>openmrs-web</artifactId>
		<version>2.0.5</version>
		<classifier>tests</classifier>
	</dependency>

Adding this above dependency to my pom.xml giving an error java.lang.LinkageError:

Log of error :https://pastebin.com/WtCnTB0P

Does it help if you add scope test? <scope>test</scope>

@dkayiwa Thanks it helped.