[size=12px]部署項目完成之後,tomcat啟動,報了一個如下的錯誤:
2011-06-27 09:32:13,265 [main] ERRORorg.hibernate.proxy.BasicLazyInitializer - CGLIB Enhancement failed: com.hitrust.cnb.model.BtchPmt
2011-06-27 09:32:14,203 [main] ERRORorg.springframework.web.context.ContextLoader - Context initialization failed
java.lang.OutOfMemoryError
<<no stack trace available>>
2011-06-27 09:32:14,500 [main] INFO org.springframework.web.servlet.DispatcherServlet - Initializing servlet 'action'
2011-06-27 09:32:14,593 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'action': initialization started
2011-06-27 09:32:15,671 [main] ERRORorg.apache.catalina.startup.HostConfig - Error deploying configuration descriptor cnb_bank.xml
java.lang.OutOfMemoryError
<<no stack trace available>>
java.lang.OutOfMemoryError
<<no stack trace available>>
Exception in thread "main"
請問這是什麽原因,請高手指點指點,謝謝[/size]
------解决方案--------------------------------------------------------
解决方案1:
删除WEB-INF/lib/asm-2.2.3.jar 然后重启 Tomcat ;
如无效-->
解决方案2:
下载asm-all-3.0.jar替换掉所有asm开头的jar包 ;
如无效 -->
解决方案3:
如果在lib目录下有2.13的版本,请更换为cglib-2.2_1.jar即可。重新发布项目.无效....
项目中使用了ehcache做为hibernate的缓存,ehcache-1.1.jar也导入了.