Main Tutorials

java.lang.ClassNotFoundException : org.glassfish.external.amx.AMXGlassfish

Problem

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


java.lang.ClassNotFoundException: 
	org.glassfish.external.amx.AMXGlassfish

Solution

The JAX-WS dependency library “management-api.jar” is missing.

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

About Author

author image
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

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments