WebService Client Generation Error with JDK8

后端 未结 23 2644
既然无缘
既然无缘 2020-11-27 08:50

I need to consume a web service in my project. I use NetBeans so I right-clicked on my project and tried to add a new \"Web Service Client\". Last time I checked, this was t

23条回答
  •  失恋的感觉
    2020-11-27 09:41

    In my case adding:

    javax.xml.accessExternalSchema = all
    

    to jaxp.properties didn't work, I've to add:

    javax.xml.accessExternalDTD = all
    

    My environment is linux mint 17 and java 8 oracle. I'll put it there as an answer for people with the same problem.

提交回复
热议问题