java.lang.ClassNotFoundException : com/sun/xml/stream/buffer/XMLStreamBuffer
Problem
Deploying a JAX-WS web service on Tomcat, hits following error message :
java.lang.ClassNotFoundException:
com/sun/xml/stream/buffer/XMLStreamBuffer
Solution
The JAX-WS dependency library “streambuffer.jar” is missing.
- Go here http://jax-ws.java.net/.
- Download JAX-WS RI distribution.
- Unzip it and copy “streambuffer.jar” to Tomcat library folder “{$TOMCAT}/lib“.
- Restart Tomcat.
thanks