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

前端 未结 7 2030
臣服心动
臣服心动 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:35

    I had similar issue and the root cause was other spring lib include spring-asm 3.1.0 as dependency.

    Fixed this issue by exluding the 'spring-asm' from all configuration in my gradle build script.

    configurations {
        all*.exclude group: 'org.springframework', module: 'spring-asm'
    }
    
    0 讨论(0)
提交回复
热议问题