[英]unable to open web service tester page with jdk8 and netbeans 8
我写了一个简单的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.
提前致谢
这是答案: https : //netbeans.org/kb/docs/websvc/jax-ws.html#extschema您应该直接配置IDE和Glassfish服务器。 特别感谢巴勃罗
这对我有用:
http://localhost:4848/common/index.jsf
如果您使用默认配置在本地工作) 这一定就够了......所以,试着再次测试你的网络服务。
我不知道GlassFish在哪里挽救了这一变化......
对不起我的英语不好 :)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.