title: Unable to create JAXBContext in Java Web service
body: <p>I used NetBeans to create a Metro Web service and to be deployed on GlassFish.
  I get an error when I try to build but <em>only</em> if one of the operations in the web service returns an Object instead of a primitive type or String.</p>
  
  <p>The error:</p>
  
  <pre><code>Deploying application in domain failed; Deployment Error -- Exception occured in the wsgen process javax.xml.ws.WebServiceException: Unable to create JAXBContext
  build-impl.xml:569: The module has not been deployed.
  BUILD FAILED (total time: 2 seconds)
  </code></pre>
  
  <p>The containing code:</p>
  
  <pre><code>&lt;target if="netbeans.home" name="-run-deploy-nb"&gt;
      &lt;nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>Any help is appreciated!</p>