title: Jax Ws based Projekt: Error:package javax.jws does not exist ; Programm cannot find symbols
body: <p>as the title states, i do get the two following Errors:
  1.package javax.jws does not exist
  2.cannot find symbol for example <strong>@WebService, Endpoint.publish</strong></p>
  
  <p>Here is the structure of the Projekt:
  <a href="https://i.stack.imgur.com/QC5sN.png" rel="nofollow noreferrer">Strukture</a></p>
  
  <p>The four Code Files:
  1. HalloWelt.java:</p>
  
  <pre><code>package miniwebservice;
  
  import javax.jws.*;
  
  @WebService
  public interface HalloWelt
  {
     public String hallo( @WebParam( name = "wer" ) String wer );
  }
  </code></pre>
  
  <p>2.HalloWeltImpl.java:</p>
  
  <pre><code>package miniwebservice;
  
  import javax.jws.WebService;
  
  @WebService( endpointInterface="miniwebservice.HalloWelt" )
  public class HalloWeltImpl implements HalloWelt
  {
     public String hallo( String wer )
     {
        return "Hallo " + wer;
     }
  }
  </code></pre>
  
  <p>3.TestWsClient.java:</p>
  
  <pre><code>package miniwebservice;
  
  import java.net.URL;
  import javax.xml.namespace.QName;
  import javax.xml.ws.Service;
  
  public class TestWsClient
  {
     public static void main( final String[] args ) throws Throwable
     {
        String url = ( args.length &gt; 0 ) ? args[0] : "http://localhost:4434/miniwebservice";
        Service service = Service.create(
              new URL( url + "?wsdl" ),
              new QName( "http://miniwebservice/", "HalloWeltImplService" ) );
        HalloWelt halloWelt = service.getPort( HalloWelt.class );
        System.out.println( "\n" + halloWelt.hallo( args.length &gt; 1 ? args[1] : "" ) );
     }
  }
  </code></pre>
  
  <p>4.TestWsServer.java:</p>
  
  <pre><code>package miniwebservice;
  
  import javax.xml.ws.Endpoint;
  
  public class TestWsServer
  {
     public static void main( final String[] args )
     {
        String url = ( args.length &gt; 0 ) ? args[0] : "http://localhost:4434/miniwebservice";
        Endpoint.publish( url, new HalloWeltImpl() );
     }
  }
  </code></pre>
  
  <p>By Doing the following: javac -d bin src/miniwebservice/*.java
  I get those Errors: <a href="https://i.stack.imgur.com/HbXQk.png" rel="nofollow noreferrer">Errors</a></p>
  
  <p>What is the issue? And how can i solve it?</p>