Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
CLASSPATH=.../mydomain/lib/CR380042_103GA.jar;${CLASSPATH}  

相关说明文档参考https://forums.oracle.com/forums/thread.jspa?threadID=705412 


问题7(javassist.util.proxy.ProxyFactory.setUseCache(Z))

Code Block
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: javassist.util.proxy.ProxyFactory.setUseCache(Z)V
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)

xwork-core-2.1.6.jar导致的

参考ISSUE: http://www.bsdn.org/projects/dorado7/issue/dorado7-1157

问题8:(weblogic.application.ModuleException)

Code Block
weblogic.application.ModuleException:
com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory

 

这是因为包冲突了,如果项目的lib里有wstx-asl-xxx.jar,部署之前先从war包里删除这些jar包,再部署就可以了。
注意还要在WEB-INF目录下添加一个weblogic.xml,设置属性优先使用当前应用的包文件。配置内容参考问题1

 问题9:No bean named 'dorado.packagesConfigLoader' is defined

解决办法就是在WEB-INF目录下添加weblogic.xml文件,配置内容参考问题1

问题10: ZipPackagePropertiesMarshaller

 

Code Block
 java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller
	at org.apache.poi.openxml4j.opc.OPCPackage.init(OPCPackage.java:162)
	at org.apache.poi.openxml4j.opc.OPCPackage.<init>(OPCPackage.java:142)
	at org.apache.poi.openxml4j.opc.Package.<init>(Package.java:37)
	at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:67)
	at org.apache.poi.openxml4j.opc.OPCPackage.create(OPCPackage.java:338)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.newPackage(XSSFWorkbook.java:452)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:225)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:217)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:221)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:190)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:165)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:260)
	at com.bstek.ureport.export.xlsx.XlsxExporter.doExport(XlsxExporter.java:67)

解决办法:删除stax-api-1.0.1.jar