Skip to content
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

Error on JDK10: -Xbootclasspath/p is no longer a supported option. #67

Open
eolivelli opened this issue Jul 25, 2018 · 10 comments
Open

Comments

@eolivelli
Copy link

eolivelli commented Jul 25, 2018

I get the same error even on JDK10

-Xbootclasspath/p is no longer a supported option.

Is there any workaround ?

Unfortunately -XX:+IgnoreUnrecognizedVMOptions does not help

I can send a patch, like if Java Version > 10 then do not add Xbootclasspath

@alankila
Copy link

alankila commented Sep 28, 2018

Since the release of jdk 11, wsimport is no longer supplied with the JDK distribution. This broke my workaround for this issue in JDK versions 9 and 10, where I specified <executable>${java.home}/bin/wsimport</executable> into the pom.xml file to override the inclusion of the no-longer working option -Xbootclasspath/p into the command line. As far as I can tell, there is no long any way to use jaxws-maven-plugin on jdk 11 until the issue is fixed, perhaps in a new release.

@theit
Copy link
Contributor

theit commented Oct 12, 2018

Can you have a look at my pull request #71? It contains fixes for invocation under Java 9-11, and at least on my machine it's not necessary anymore to specify an executable as a workaround for Java >=9.

@hugo-ma-alves
Copy link

Can you have a look at my pull request #71? It contains fixes for invocation under Java 9-11, and at least on my machine it's not necessary anymore to specify an executable as a workaround for Java >=9.

Thanks for the fix
I tried your version on our project and it works on java 11.
I added some more details about our setup on the PR comments page.

@theit
Copy link
Contributor

theit commented Nov 21, 2018

Great to hear. Now let's wait for the project maintainers/owners what they think about the PR... ;-)

@gmcouto
Copy link

gmcouto commented Aug 19, 2019

Yeah, I'm still waiting for these

@HashRaygoza
Copy link

Any news about this?

@theit
Copy link
Contributor

theit commented Jan 13, 2020

Is this still an issue with version 2.6 of this plugin that was released recently?

@adiesner
Copy link

adiesner commented Mar 27, 2020

Is this still an issue with version 2.6 of this plugin that was released recently?

Upgrading from 2.5 to 2.6 fixed the issue for me.

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxws-maven-plugin</artifactId>
                <version>2.6</version>
 ...

@niklaj
Copy link

niklaj commented Nov 26, 2021

Can you have a look at my pull request #71? It contains fixes for invocation under Java 9-11, and at least on my machine it's not necessary anymore to specify an executable as a workaround for Java >=9.

The proposed fix does not solve the problem if the toolchains plugin is used as it is checking the module status for the current jvm (which might be java 8) and not for the toolchain jvm that might be java 9 or later.

@pdudits
Copy link

pdudits commented Dec 10, 2021

I've also hit same issue like @niklaj did, but since I think it is more specific than "Doesn't work on JDK 10", I filed new issue #94.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants