Can someone tell me how to solve this issue?
I have narrowed down the problem to the pom.xml file. My project works but when I add the following dependency I get an
You most likely have conflicting Spring dependencies on your classpath. It's probably an old spring-asm JAR.
Run mvn dependency:tree -Dincludes=:spring*:: and check for conflicts. The best way to avoid these is to put a dependency on the spring-framework-bom in your project's dependencyManagement section, as follows
org.springframework
spring-framework-bom
4.0.3.RELEASE
pom
import
These versions are supported.