java.lang.ClassNotFoundException : com/sun/xml/ws/policy/PolicyException
Published: November 18, 2010 , Updated: November 22, 2010 , Author: mkyong
Problem
Deploying a JAX-WS web service on Tomcat, hits following error message :
java.lang.ClassNotFoundException: com/sun/xml/ws/policy/PolicyException
Solution
The JAX-WS dependency library “policy.jar” is missing.
- Go here http://jax-ws.java.net/.
- Download JAX-WS RI distribution.
- Unzip it and copy “policy.jar” to Tomcat library folder “{$TOMCAT}/lib“.
- Restart Tomcat.
Note : You can find more similar articles at - JAX-WS Tutorials







Thank you very much for that hint :-) You saved my hours!!