J2EE - IncompatibleClassChangeError: Implementing class
一、異常
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
... more
二、原因
1、相同的Jar包不同版本的衝突,重複載入了多個版本的Jar包
2、不同Jar包之間的類衝突,比如Hibernate3.5中已包含相關注解就不再需要annotations的註解包
3、Tomcat等Web伺服器的與專案依賴的Jar包衝突
4、JDK的Jar包與專案依賴Jar包衝突
相關文章
- java.lang.IncompatibleClassChangeError:Implementing classJavaError
- implementing OOP in rustOOPRust
- Implementing a generator/yield in a Python C extensionPython
- Implementing Domain Driven Design中文版出版AI
- Implementing App Restrictions,Building a Device Policy ControllerAPPRESTUIdevController
- android-Implementing Descendant Navigation,Notifying the UserAndroidNavigation
- iOS[super class]和[self class]iOS
- IMPLEMENTING A GRU/LSTM RNN WITH PYTHON AND THEANO - 學習筆記RNNPython筆記
- Typescript的interface、class和abstract classTypeScript
- Implementing Ethereum trading front-runs on the Bancor exchange in PythonPython
- Implementing Oracle9i Data Guard for Higher AvailabilityOracleAI
- self::class和static::class的區別
- 9 must-knows before implementing SAP Simple Finance.NaN
- android-Implementing Effective Navigation,Creating Swipe Views with TabsAndroidNavigationView
- 【J2EE】JDBCJDBC
- dart class overviewDartView
- JavaScript class 類JavaScript
- this與class(原型)原型
- JavaScript:類(class)JavaScript
- Class詳解
- case class inheritance
- Type與Class
- [Javascript] Class & PrototypesJavaScript
- Class-map
- J2EE 核心模式模式
- Volley實現自定義的網路請求Implementing a Custom Request
- J2EE開發筆記(一)—— J2EE開發環境配置筆記開發環境
- TypeScript 編譯 classTypeScript編譯
- TypeScript class類相容TypeScript
- HTML class 屬性HTML
- JavaScript class 繼承JavaScript繼承
- 反射_Class物件功能反射物件
- Class檔案解析
- TypeScript 之 Class(上)TypeScript
- TypeScript 之 Class(下)TypeScript
- Struct與Class辨析Struct
- React — Class類元件React元件
- 學習j2ee疑惑