读书人

java.lang.LinkageError: loader cons

发布时间: 2012-12-20 09:53:21 作者: rapoo

java.lang.LinkageError: loader constraint violation的错误

java.lang.LinkageError: loader constraint violation?
是由于容器提供的包和web应用引入的包冲突引起的。?
通过maven排除重复引用后解决。具体参见以下指引:
?

your application has a JAR file, which is already part the JVM or Servlet Container, in it's WEB-INF/lib folder (or WAR file)?
and the version of the JAR files is different to that of the JVM or Servlet Container?
JAR files you should never include in your web-app?
As a rule, the following jar files should never be part of your webapp:?

读书人网 >网络基础

热点推荐