WAR failed to deploy
<p>I have a Maven JEE application running fine in TomEE. I created a SOAP Web Service in Netbeans: <code>New - Web Service</code>, which creates a simple "hello" service. For some reason I get a message</p>

<p><a href="https://i.stack.imgur.com/LY9qF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LY9qF.jpg" alt="enter image description here"></a></p>

<blockquote>
  <p>The web server you have selected does not seem to support JSR 109
  specification. To enable the web server to process annotated web
  services, the sun-jaxws.xml file should be created and servlets
  entries for web services need to be generated in web.xml file</p>
</blockquote>

<p>I accept, clean, build... No matter what I do, I always get this message every single time I open Netbeans. Like the changes were not persistent.</p>

<p>Then the main problem is when I try to run the project. I get a long list of errors</p>

<p><strong>In server log</strong></p>

<pre><code>SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.apache.catalina.core.DefaultInstanceManager cannot be cast to org.apache.tomee.catalina.JavaeeInstanceManager
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5066)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
</code></pre>

<p><strong>In the logs</strong></p>

<pre><code>SEVERE: Unable to deploy collapsed ear in war StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebServiceTest]
org.apache.openejb.OpenEJBException: Unable to load servlet class: com.sun.xml.ws.tx.coord.v11.endpoint.RegistrationRequesterPortImpl: null
    at org.apache.openejb.config.WsDeployer.processPorts(WsDeployer.java:234)
....
Caused by: java.lang.NullPointerException
    at org.apache.openejb.config.WsDeployer.readWsdl(WsDeployer.java:451)

SEVERE: ContainerBase.removeChild: destroy: 
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebServiceTest]] in state [STARTING_PREP]
    at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:401)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:291)
....
SEVERE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebServiceTest]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
....
Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Unable to load servlet class: com.sun.xml.ws.tx.coord.v11.endpoint.RegistrationRequesterPortImpl: null
    at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1270)
....
Caused by: org.apache.openejb.OpenEJBException: Unable to load servlet class: com.sun.xml.ws.tx.coord.v11.endpoint.RegistrationRequesterPortImpl: null
    at org.apache.openejb.config.WsDeployer.processPorts(WsDeployer.java:234)
....
Caused by: java.lang.NullPointerException
    at org.apache.openejb.config.WsDeployer.readWsdl(WsDeployer.java:451)
....
SEVERE: Error deploying configuration descriptor C:\Program Files\Apache-Tomee-jaxrs-1.7.4\conf\Catalina\localhost\WebServiceTest.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebServiceTest]]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
....
</code></pre>

<hr>

<p><strong>EDIT</strong></p>

<p>I have added these dependencies but still getting the same errors when building/running</p>

<pre><code>&lt;!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina-ws --&gt;
&lt;dependency&gt;
    &lt;groupId&gt;org.apache.tomcat&lt;/groupId&gt;
    &lt;artifactId&gt;tomcat-catalina-ws&lt;/artifactId&gt;
    &lt;version&gt;7.0.5&lt;/version&gt;
&lt;/dependency&gt;
&lt;!-- https://mvnrepository.com/artifact/javax.xml/jaxrpc-api --&gt;
&lt;dependency&gt;
    &lt;groupId&gt;javax.xml&lt;/groupId&gt;
    &lt;artifactId&gt;jaxrpc-api&lt;/artifactId&gt;
    &lt;version&gt;1.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;!-- https://mvnrepository.com/artifact/wsdl4j/wsdl4j --&gt;
&lt;dependency&gt;
    &lt;groupId&gt;wsdl4j&lt;/groupId&gt;
    &lt;artifactId&gt;wsdl4j&lt;/artifactId&gt;
    &lt;version&gt;1.6.2&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>

<hr>

<p>Besides the Maven dependencies, I have manually copied the files <code>jaxrpc-api-1.1.jar</code> and <code>tomcat-catalina-ws-7.0.5.jar</code> in the TomEE lib folder. The file <code>wsdl4j-1.6.3.jar</code> already existed. I restarted Netbeans. Not sure these are the needed jars, but they do not solve the problem.</p>