Sul*_*man 3 java web-services glassfish java-ee
我使用NetBeans创建Metro Web服务并部署在GlassFish上.我尝试构建时遇到错误,但仅当Web服务中的某个操作返回Object而不是基本类型或String时.
错误:
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)
Run Code Online (Sandbox Code Playgroud)
包含的代码:
<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>
Run Code Online (Sandbox Code Playgroud)
任何帮助表示赞赏!
| 归档时间: |
|
| 查看次数: |
25790 次 |
| 最近记录: |