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)

    评论

报告相同问题?

悬赏问题

  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示
  • ¥15 扫描项目中发现AndroidOS.Agent、Android/SmsThief.LI!tr
  • ¥15 怀疑手机被监控,请问怎么解决和防止
  • ¥15 Qt下使用tcp获取数据的详细操作
  • ¥15 idea右下角设置编码是灰色的