The Source for Java Technology Collaboration
User: Password:



Rama Pulavarthi

Rama Pulavarthi's Blog

A little update for JAX-WS 2.1 users with JDK 6 Update 4 and Update 5.

Posted by ramapulavarthi on March 07, 2008 at 05:00 PM | Comments (1)

Some issues on compiling using classes in javax.xml.ws.wsaddressing package have come to our attention (You can follow the thread in the Metro User forum). As you can see, javax.xml.ws.wsaddressing package along with the classes W3CEndpointReference and W3CEndpointReferenceBuilder are infact there in rt.jar. But javac complains package javax.xml.ws.wsaddressing does not exist.

This is due to the fact that JAVA_HOME/lib/ct.sym was not updated with these new api. This problem is in the JDK 6 Update 4 and Update 5, should not effect you unless you are using W3CEndpointReference and W3CEndpointReferenceBuilder in your applications. We are actively working on providing a fix in future update release. In the mean while, you could use one of these following workarounds.

  • Use the compiler switch -XDignore.symbol.file=true (Note that this is undocumented option).
  • Put rt.jar explicitly in your claspath for javac
  • Remove ct.sym from JAVA_HOME/lib ( not recommended as it requires changes to your JDK installation)

We will be very soon fixing this glitch. Thanks for your cooperation.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Than you. It helps with com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper too :-)

    Posted by: ratoo on March 18, 2008 at 09:00 AM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds