You are not logged in.

#1 2019-06-27 14:51:15

asasione
Member
Registered: 2019-06-16
Posts: 9

[Solved] Unable to use wsimport with openjdk 12

I have been trying for a few hours and can't seem to get wsimport to work on my system, no issues with anything else Java related but all documentation indicates as if its meant to work without any changes. Generating Java code from WSDL's fails

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.tools.ws.wscompile.DefaultAuthenticator$1 (file:/home/user/Software/Java/TempConverter/lib/jaxws-tools.jar) to field java.net.Authenticator.theAuthenticator
WARNING: Please consider reporting this to the maintainers of com.sun.tools.ws.wscompile.DefaultAuthenticator$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal re

I am really at wits end, archlinux-java status correctly shows jdk, and JAVA_HOME path is set not sure how to fix this. Any assistance is appreciated

Last edited by asasione (2019-06-27 16:35:48)

Offline

#2 2019-06-27 15:01:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,423

Re: [Solved] Unable to use wsimport with openjdk 12

Which documentation are you referring to, where did you get the binary? There were some very invasive changes in java 9+ if this hasn't been updated yet it's unlikely to work, use java 8.

From our own packages, it doesn't seem to ship anymore with anything later than openjdk 8.

Last edited by V1del (2019-06-27 15:06:19)

Offline

#3 2019-06-27 15:05:25

asasione
Member
Registered: 2019-06-16
Posts: 9

Re: [Solved] Unable to use wsimport with openjdk 12

V1del wrote:

Which documentation are you referring to, where did you get the binary? There were some very invasive changes in java 9+ if this hasn't been updated yet it's unlikely to work, use java 8.

I ended up finding some random comment that wsimport was removed in JDK11 so JDK10 and below works so issue is solved. Kind of aggravating searching for several hours yielded nothing.

Offline

Board footer

Powered by FluxBB