WebLogic 12c Jxls Export Excel error could not initialize class Org.apache.poi.xssf.usermodel.XSSFVMLDrawing

Source: Internet
Author: User

Monday, development feedback WebLogic 12c Jxls export Excel error, the company environment and UAT Environment are error, look at the log as follows:

2016-06-08 09:16:55,825 ERROR Org.jxls.util.TransformerFactory.createTransformer (transformerfactory.java:40) [ Org.jxls.util.TransformerFactory]-Method Createtransformer of Org.jxls.transform.poi.PoiTransformer class thrown an Exception

Java.lang.reflect.InvocationTargetException

At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)

At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)

At Java.lang.reflect.Method.invoke (method.java:606)

At Org.jxls.util.TransformerFactory.createTransformer (transformerfactory.java:35)

At Org.jxls.util.JxlsHelper.createTransformer (jxlshelper.java:198)

At Org.jxls.util.JxlsHelper.processTemplate (jxlshelper.java:93)

At Com.ccps.info.logic.common.ExportTool.exportTool (exporttool.java:30)

At Com.ccps.info.logic.CenterDailySettlementLogicImpl.centerDailySettlement (Centerdailysettlementlogicimpl.java : 39)

At Com.ccps.info.service.CenterDailySettlementServiceImpl.centerDailySettlement ( CENTERDAILYSETTLEMENTSERVICEIMPL.JAVA:32)

At Com.ccps.info.as.InfoT2ServiceImpl.centerDailySettlement (infot2serviceimpl.java:189)

At com.ccps.info.as.infot2serviceimpl$ $FastClassByCGLIB $$1e6a83ef.invoke (<generated>)

At Org.springframework.cglib.proxy.MethodProxy.invoke (methodproxy.java:204)

At Org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint (CglibAopProxy.java:698 )

At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:150)

At Org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke ( METHODBEFOREADVICEINTERCEPTOR.JAVA:51)

At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:172)

At Org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke (exposeinvocationinterceptor.java:91)

At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:172)

At Org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept (CglibAopProxy.java:631)

At com.ccps.info.as.infot2serviceimpl$ $EnhancerByCGLIB $$96b903c0.centerdailysettlement (<generated>)

At Sun.reflect.GeneratedMethodAccessor784.invoke (Unknown Source)

At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)

At Java.lang.reflect.Method.invoke (method.java:606)

At Com.hundsun.jresplus.remoting.impl.DefaultServiceProcessor.execute (defaultserviceprocessor.java:66)

At Com.hundsun.jresplus.remoting.server.ServiceSkeleton.excute (serviceskeleton.java:102)

At Com.hundsun.jresplus.remoting.plugin.BizService.execute (bizservice.java:139)

At Com.hundsun.jres.impl.cep.bizmodule.bizmodule$processer.run (bizmodule.java:483)

At Com.hundsun.jres.common.cep.pool.RestlessThread.run (restlessthread.java:143)

caused by:java.lang.NoClassDefFoundError:Could not initialize class org.apache.poi.xssf.usermodel.XSSFVMLDrawing

At Sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

At Sun.reflect.NativeConstructorAccessorImpl.newInstance (nativeconstructoraccessorimpl.java:57)

At Sun.reflect.DelegatingConstructorAccessorImpl.newInstance (delegatingconstructoraccessorimpl.java:45)

At Java.lang.reflect.Constructor.newInstance (constructor.java:526)

At Org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart (xssffactory.java:60)

At Org.apache.poi.POIXMLDocumentPart.read (poixmldocumentpart.java:403)

At Org.apache.poi.POIXMLDocumentPart.read (poixmldocumentpart.java:408)

At Org.apache.poi.POIXMLDocument.load (poixmldocument.java:155)

At Org.apache.poi.xssf.usermodel.xssfworkbook.<init> (xssfworkbook.java:186)

At Org.apache.poi.ss.usermodel.WorkbookFactory.create (workbookfactory.java:73)

At Org.jxls.transform.poi.PoiTransformer.createTransformer (poitransformer.java:47)

At Org.jxls.transform.poi.PoiTransformer.createTransformer (poitransformer.java:40)

... More

2016-06-08 09:16:55,826 ERROR Com.ccps.info.logic.common.ExportTool.exportTool (exporttool.java:33) [ Com.ccps.info.logic.common.ExportTool]-

Java.lang.IllegalStateException:Cannot load XLS transformer. Sure a Transformer implementation is in Classpath

At Org.jxls.util.JxlsHelper.createTransformer (jxlshelper.java:200)

At Org.jxls.util.JxlsHelper.processTemplate (jxlshelper.java:93)

At Com.ccps.info.logic.common.ExportTool.exportTool (exporttool.java:30)

At Com.ccps.info.logic.CenterDailySettlementLogicImpl.centerDailySettlement (Centerdailysettlementlogicimpl.java : 39)

At Com.ccps.info.service.CenterDailySettlementServiceImpl.centerDailySettlement ( CENTERDAILYSETTLEMENTSERVICEIMPL.JAVA:32)

At Com.ccps.info.as.InfoT2ServiceImpl.centerDailySettlement (infot2serviceimpl.java:189)

At com.ccps.info.as.infot2serviceimpl$ $FastClassByCGLIB $$1e6a83ef.invoke (<generated>)

At Org.springframework.cglib.proxy.MethodProxy.invoke (methodproxy.java:204)

At Org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint (CglibAopProxy.java:698 )

At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:150)

At Org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke ( METHODBEFOREADVICEINTERCEPTOR.JAVA:51)

At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:172)

At Org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke (exposeinvocationinterceptor.java:91)

At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:172)

At Org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept (CglibAopProxy.java:631)

At com.ccps.info.as.infot2serviceimpl$ $EnhancerByCGLIB $$96b903c0.centerdailysettlement (<generated>)

At Sun.reflect.GeneratedMethodAccessor784.invoke (Unknown Source)

At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)

At Java.lang.reflect.Method.invoke (method.java:606)

At Com.hundsun.jresplus.remoting.impl.DefaultServiceProcessor.execute (defaultserviceprocessor.java:66)

At Com.hundsun.jresplus.remoting.server.ServiceSkeleton.excute (serviceskeleton.java:102)

At Com.hundsun.jresplus.remoting.plugin.BizService.execute (bizservice.java:139)

At Com.hundsun.jres.impl.cep.bizmodule.bizmodule$processer.run (bizmodule.java:483)

At Com.hundsun.jres.common.cep.pool.RestlessThread.run (restlessthread.java:143)

======

He later reported caused By:java.lang.LinkageError:loader constraint Violation:loader (instance of weblogic/utils/classloaders/ Changeawareclassloader) previously initiated loading for a different type with name "Javax/xml/namespace/qname"

After the investigation, for the javax/xml/namespace/qname conflict caused,WebLogic under the removal of Stax-api-1.0.1.jar jar package can be.

WebLogic 12c Jxls Export Excel error could not initialize class Org.apache.poi.xssf.usermodel.XSSFVMLDrawing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.