unable to open web service tester page with jdk8 and netbeans 8

百般思念 提交于 2019-12-04 13:20:43
faraa

This is answer : https://netbeans.org/kb/docs/websvc/jax-ws.html#extschema You should configure IDE and Glassfish server directly . With special thanks to Pablo

Omar Vargas

This worked for me:

  1. From NetBeans IDE 8, deploy your web application in order to start GlassFish (right-click on your web project and choose Deploy)
  2. Open the GlassFish console on your browser (http://localhost:4848/common/index.jsf if you are working locally with default configuration)
  3. Create a new JVM option with value: -Djavax.xml.accessExternalSchema=all (I recomend you to read https://javaee.github.io/glassfish/doc/4.0/administration-guide.pdf at page 119). Don't forget to save it.
  4. Restart GlassFish (by clicking on the message near upper left corner)

That must be enough... so, try to test your web service again.

I don't know where GlassFish is saving that change...

Sorry for my english :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!