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

Fails with JDK 11 #27

Open
Captain-P-Goldfish opened this issue Oct 12, 2020 · 1 comment
Open

Fails with JDK 11 #27

Captain-P-Goldfish opened this issue Oct 12, 2020 · 1 comment

Comments

@Captain-P-Goldfish
Copy link

executing the plugin with JDK 11 results in the following error. It works with JDK 8 though

java.io.IOException: org.jboss.modules.ModuleNotFoundException: java.se
	at org.jboss.as.patching.generator.DistributionProcessor.process(DistributionProcessor.java:106)
	at org.jboss.as.patching.generator.Distribution.create(Distribution.java:68)
	at org.jboss.as.patching.generator.PatchGenerator.process(PatchGenerator.java:129)
	at org.jboss.as.patching.generator.PatchGenerator.main(PatchGenerator.java:73)
Caused by: org.jboss.modules.ModuleNotFoundException: java.se
	at org.jboss.modules.Module.addPaths(Module.java:1266)
	at org.jboss.modules.Module.link(Module.java:1622)
	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296)
	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280)
	at org.jboss.as.patching.generator.DistributionProcessor.process(DistributionProcessor.java:93)
	... 3 more
@htr3n
Copy link

htr3n commented Oct 19, 2023

You can temporarily add the configuration parameter <argLine> as following to give the plugin access to the java.se module.

<configuration>     
    <argLine>--add-modules=java.se</argLine>
</configuration>

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

2 participants