far*_*raa 3 java web-services glassfish netbeans-8 jakarta-ee
我编写了一个简单的 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.
Run Code Online (Sandbox Code Playgroud)
提前致谢
小智 5
这对我有用:
http://localhost:4848/common/index.jsf如果您使用默认配置在本地工作)这一定足够了...所以,尝试再次测试您的网络服务。
我不知道 GlassFish 在哪里保存该更改......
对不起我的英语不好 :)
| 归档时间: |
|
| 查看次数: |
26833 次 |
| 最近记录: |