-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsimport fails with JDK 8: Failed to read schema document 'xjc.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property #4
Comments
reference documentation: https://jaxp.java.net/1.5/1.5.0/ReleaseNotes.html and https://jaxp.java.net/1.5/JAXP1.5Guide.html#JAXP1.5Documentation%2CGuide-7.Usingtheproperties should we add
as default value in jaxws-maven-plugin? |
I think we should align with how it is handled by jaxb2-maven-plugin. |
Somehow this is handled automatically in the jaxb2-m-p case, either by the plugin or by some library:
|
In a local test I upgraded the jaxws-m-p to use v2.2.10 of jaxws-tools and v0.11.1 of jaxb2-basics. Then it works with Oracle JDK 1.8b112 without having to specify the vm arg. |
This has been fixed as part of #8. No additional config args are needed with JDK 8. |
Until v2.5 is released, it is possible to make v2.4.x work with JDK 8 by upgrading one of its dependencies like this:
|
@andham Not working for me. Still have the same issue |
Using v2.5 and the error is still the same no matter the JDK used |
I confirm. The bug still exists. However, I could fix it by building the parent project. When I only build the subproject containing the maven-jaxws-plugin, it fails. |
Hello The parent-pom contains: I get the following error: This fails in eclipse as well. Root cause: Root Cause is being addressed as Issue #67 |
see http://stackoverflow.com/questions/23011547/webservice-client-generation-error-with-jdk8
and https://java.net/jira/browse/JAX_WS_COMMONS-129
building jaxws-maven-plugin with JDK 8 shows this exact issue
The text was updated successfully, but these errors were encountered: