Class Conflict when starting up Java project: ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class

前端 未结 7 2120
臣服心动
臣服心动 2020-11-30 06:29

I am developing a Java web project using the latest Spring framework version (3.2.2-RELEASE), but now I have a problem when the project is started up. The detail error is

7条回答
  •  一整个雨季
    2020-11-30 07:11

    Same issue for me. I ran 'mvn dependency:tree' and noticed that an older version of spring-aop was being brought in so I added it to the jersey-spring exclusions, which corrected my problem:

        
            com.sun.jersey.contribs
            jersey-spring
            ${jersey.version}
            
                
                    org.springframework
                    spring-core
                
                
                    org.springframework
                    spring-web
                
                
                    org.springframework
                    spring-beans
                
                
                    org.springframework
                    spring-context
                
                
                    org.springframework
                    spring-aop
                
            
            provided
        
    

提交回复
热议问题