我写了一个简单的web服务程序,但是我不能在glassfish 4.0 web服务器上测试它。当我测试Web服务时,我看到这样的消息:确保服务已经成功部署,并且服务器正在运行。
我可以在glassfish web服务器上部署的web服务列表中看到它。我将此文件添加到\jdk1.8.0\jre\lib以解决此问题。
jaxp.properties
javax.xml.accessExternalSchema = All,但它不工作
我在测试页面的url中也看到了这个错误:
lineNumber: 52; columnNumber: 88; schema_reference: Failed to read schema document 'xjc.xsd', because 'bundle' access is not allowed due to restriction set by the accessExternalSchema property. 提前感谢
发布于 2014-06-12 19:23:55
这是答案:https://netbeans.org/kb/docs/websvc/jax-ws.html#extschema你应该直接配置集成开发环境和Glassfish服务器。特别感谢Pablo
发布于 2014-12-02 18:32:45
这对我很有效:
从JVMIDE8中部署您的web应用程序以启动GlassFish (右键单击您的web项目并选择deploy )
这一定足够了..。因此,尝试再次测试您的web服务。
我不知道GlassFish将更改保存在哪里。
对不起,我的英语:)
https://stackoverflow.com/questions/24147548
复制相似问题