java.lang.ClassNotFoundException : org.jvnet.staxex.XMLStreamReaderEx

Problem

Deploying a JAX-WS web service on Tomcat, hits following error message :


java.lang.ClassNotFoundException: 
	org.jvnet.staxex.XMLStreamReaderEx

Solution

The JAX-WS dependency library “stax-ex.jar” is missing.

  1. Go here http://jax-ws.java.net/.
  2. Download JAX-WS RI distribution.
  3. Unzip it and copy “stax-ex.jar” to Tomcat library folder “{$TOMCAT}/lib“.
  4. Restart Tomcat.

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Ramesh VJAX-WS Tutorial Recent comment authors
newest oldest most voted
trackback
JAX-WS Tutorial

[…] : javax.xml.ws.soap.AddressingFeature$Responsesjava.lang.ClassNotFoundException : org.jvnet.staxex.XMLStreamReaderExjava.lang.ClassNotFoundException : […]

Ramesh V
Guest
Ramesh V

Thank You iam ablt ofix by adding this JAR