java - IllegalArgumentException: com.sun.xml.internal.messaging.saaj.soap.LocalStrings != com.sun.xml.messaging.saaj.soap.LocalStrings -


in web-application, contacting web-service (using jax-ws) following error:

java.lang.exceptionininitializererror     @ com.sun.xml.ws.message.attachmentunmarshallerimpl.<clinit>(attachmentunmarshallerimpl.java:55)     @ com.sun.xml.ws.client.sei.responsebuilder$doclit.readresponse(responsebuilder.java:500)     @ com.sun.xml.ws.client.sei.syncmethodhandler.invoke(syncmethodhandler.java:242)     @ com.sun.xml.ws.client.sei.syncmethodhandler.invoke(syncmethodhandler.java:210)     @ com.sun.xml.ws.client.sei.seistub.invoke(seistub.java:103)         ... caused by: java.lang.illegalargumentexception: com.sun.xml.internal.messaging.saaj.soap.localstrings != com.sun.xml.messaging.saaj.soap.localstrings     @ java.util.logging.logger.getlogger(logger.java:314)     @ com.sun.xml.messaging.saaj.soap.attachmentpartimpl.<clinit>(attachmentpartimpl.java:71)     ... 189 more 

this happen on machine, when run application in eclipse...

what can source of error?

i suspecting oracle java bug, running web-application in tomcat 5.5 , java 1.6.0_18, shown in system.properties:

java.runtime.name = java(tm) se runtime environment sun.boot.library.path = c:\program files\java\jdk1.6.0_18\jre\bin java.vm.version = 16.0-b13 java.runtime.version = 1.6.0_18-b07 java.version = 1.6.0_18 

problem solved. due third-party dependency, saaj-impl-1.3.jar different in environment in other "official" environments...


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -