title: Unable to create SAAJ meta-factory after packaging as JAR
body: <p>For testing an application I am creating SOAP messages. This works when run directly from Eclipse (Oxygen.1a) but after packaging as runnable jar (option: package required libraries into generated jar) I get the following error:</p>
  
  <pre><code>javax.xml.soap.SOAPException: Unable to create SAAJ meta-factoryProvider com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl not found
      at javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:94)
      at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:138)
  </code></pre>
  
  <p>triggered by:</p>
  
  <pre><code>MessageFactory factory = MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
  </code></pre>
  
  <p>So I understand that the MessageFactory uses a sun package</p>
  
  <pre><code>static private final String DEFAULT_META_FACTORY_CLASS =
      "com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl";
  </code></pre>
  
  <p>But I am absolutly clueless as to why it is unable to find this class after packaging to a runnable JAR. Any hints or directions would be greatly apreciated.</p>