qigaoyang 2014-11-19 07:18 采纳率: 0%
浏览 5087

weblogic环境下调用接口报错,急,在线等!org.w3c.dom.Node.setUserData

之前在测试环境中测试是可以的,后来部署到正式环境就挂掉了,tomcat下也是正常的。项目的weblogic.xml也配置了优先加载项目的jar包,还是不行。
ava.lang.LinkageError: loader constraint violation: when resolving interface method "org.w3c.dom.Node.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/StaxUtils, and the class loader (instance of ) for resolved class, org/w3c/dom/Node, have different Class objects for the type erDataHandler;)Ljava/lang/Object; used in the signature

  • 写回答

3条回答 默认 最新

  • qigaoyang 2014-11-19 07:19
    关注
    [gjj-webapp] 2014-11-10 13:10:00 [ERROR] org.springframework.scheduling.support.MethodInvokingRunnable {68} - Invocation of method 'receiveOfficeSystemScheduing' on target class [class com.digipower.erms.gjj.scheduing.receive.impl.ReceiveScheduingServiceImpl] failed
    

    java.lang.LinkageError: loader constraint violation: when resolving interface method "org.w3c.dom.Node.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/StaxUtils, and the class loader (instance of ) for resolved class, org/w3c/dom/Node, have different Class objects for the type erDataHandler;)Ljava/lang/Object; used in the signature
    at org.apache.cxf.staxutils.StaxUtils.addLocation(StaxUtils.java:951)
    at org.apache.cxf.staxutils.StaxUtils.startElement(StaxUtils.java:809)
    at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:878)
    at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:765)
    at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:219)
    at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:179)
    at org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:91)
    at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:205)
    at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:148)
    at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:65)
    at javax.xml.ws.Service.(Service.java:36)
    at com.ws.RisenetFiledataWSService.(RisenetFiledataWSService.java:54)
    at com.digipower.erms.gjj.mgmt.receive.service.impl.OfficeSystemReceiveServiceImpl.processReceive(OfficeSystemReceiveServiceImpl.java:52)
    at com.digipower.erms.gjj.mgmt.receive.service.impl.OfficeSystemReceiveServiceImpl$$FastClassByCGLIB$$792f763f.invoke()
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
    at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
    at com.digipower.erms.gjj.mgmt.receive.service.impl.OfficeSystemReceiveServiceImpl$$EnhancerByCGLIB$$acbd0523.processReceive()
    at com.digipower.erms.gjj.scheduing.receive.impl.ReceiveScheduingServiceImpl.receiveOfficeSystemScheduing(ReceiveScheduingServiceImpl.java:16)
    at sun.reflect.GeneratedMethodAccessor414.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
    at org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)
    at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

    评论

报告相同问题?

悬赏问题

  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?