java.lang.LinkageError: loader constraint violation: when resolving interface method
错误的原因是tomcat/lib下的el-api.jar与项目WEB-INF/lib目录下的el-api.jar冲突。
把项目目录下的el-api.jar删除即可。
unable to create a new writer
处理办法:In woindows, delete C:\Documents and Settings\{user name}\liferay\lucene\0\write.lock
java.lang.NoClassDefFoundError:net/sf/cglib/proxy/CallbackFilter
==》missing cglib-2.1_3.jar
java.lang.NoClassDefFoundError:javax/transaction/TransactionManager
==》missing jta.jar
java.lang.NoClassDefFoundError: freemarker/template/Configuration
==》missing freemarker.jar
java.lang.NoClassDefFoundError:org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException ==》missing aspectjrt.jar;aspectjweaver.jar
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
==》missing dom4j-1.6.1.jar
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException
==》missing commons-fileupload-1.2.jar
java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
==》missing velocity-1.4.jar;velocity-dep-1.4.jar;velocity-tools-1.1.jar
spring和Jfreechart的冲突问题
==》删除jfreechart中的gnujaxp.jar