List of jar files for Jax-ws (SOAP) based Java Web Services

Posted on : Tue, 22nd Sep 15 02:14 pm UTC
2314 votes

Here are the list of jar files that are required when you are creating a Web Service based on Java Jax-ws (SOAP)

  1. jaxb-api.jar
  2. jaxb-impl.jar
  3. jaxws-rt.jar
  4. stax-ex.jar
  5. streambuffer.jar


Make sure that you place these jar files under WebContent/WEB-INF/lib folder of your Eclipse dynamic web project. If you fail to do so you will get WSServletContextListener exception.

SEVERE: Error configuring application listener of class
	at org.apache.catalina.loader.WebappClassLoader.loadClass(
	at org.apache.catalina.loader.WebappClassLoader.loadClass(
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(
	at org.apache.catalina.core.StandardContext.listenerStart(
	at org.apache.catalina.core.StandardContext.startInternal(
	at org.apache.catalina.util.LifecycleBase.start(
	at org.apache.catalina.core.ContainerBase$
	at org.apache.catalina.core.ContainerBase$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +