When finding an error just as it is in making Web Service JavaEE
And the like, it helps you watch your editor.
Well this is actually an important thing to do before doing Webservice in Java EE in Netbeans IDE.
For editors such as Eclipse, can search on Google.
- Open the Netbeans path: (C: / ProgramFiles / Netbeans xxx / etc)
- Open file netbeans.conf (Open to any editor, but with the Administrator Role)
Search as in the image:
Change to:
- Next go to GlashFish path (C: / Program Files / Glasfish xx / glassfish / domains / domain1 / config)
- Open the file domain.xml
Search </ java-config>
There will be 2 code as it is, then go to the second, and put this code above:
Or it could be seen ...:
And if it is still an error, the error may exist on the JDK version that you have,
Well, now
- Go to your JDK path (path / to / jdk1.xx / jre / lib)
- Search files jaxp.properties
- If not, create any new
- And in jaxp.properties, add the following code
- javax.xml.accessExternalSchema = all
After that, retry your Web service, Certainly, if there are errors it is now a fault on Human error in Typo, Syntax, and Algorithms