What is a IncompatibleClassChangeError exception in Java?

后端 未结 6 1545
太阳男子
太阳男子 2020-12-10 02:26

i am working on a small application and I am trying to use Hibernate Annotations to map my entities. I wanted to test if everything is alright when i got this exception :

6条回答
  •  佛祖请我去吃肉
    2020-12-10 02:36

    I write this to help whoever lookup to this error . Sometimes jar files coming from Spring Roo generated pom.xml and Tomcat Server Runtime libraries conflict and produced this error during unit testing. While building frontend technology like Flex, Server runtime libraries are not necessary to present in the classpath, so simply remove the Server runtime libraries from classpath.

提交回复
热议问题