title: When deploying a web application I get the exception NoClassDefFoundError:LocalizableImpl
body: <p>I have a standard J2EE web application that includes web services. I'm using the <code>webservices-rt</code> library to host the services. [See the maven dependency below]. However, I get the following exception at run time:</p>
  
  <pre><code>SEVERE: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
  java.lang.NoClassDefFoundError: com/sun/xml/ws/util/localization/LocalizableImpl
      at com.sun.xml.ws.util.exception.JAXWSExceptionBase.&lt;init&gt;(JAXWSExceptionBase.java:63)
      at com.sun.xml.ws.transport.http.servlet.WSServletException.&lt;init&gt;(WSServletException.java:47)
      at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:118)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [...]
      at java.lang.Thread.run(Thread.java:724)
  Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.util.localization.LocalizableImpl
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
      ... 33 more
  </code></pre>
  
  <p><strong>Maven WS Dependency</strong></p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.sun.xml.ws&lt;/groupId&gt;
          &lt;artifactId&gt;webservices-rt&lt;/artifactId&gt;
          &lt;version&gt;1.4&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Am I missing a library? I've tried adding <code>jaxws-rt</code>. However, that requires an additional repo [<code>jboss</code>]. I'm a bit leery of that, as that it introduces a lot of new libraries into the project.</p>