In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. B
I tried the following:
(1) For me replacing -Xbootclasspath/p
with -Xbootclasspath/a
- Did not work
(2) Then I tried to remove the whole line as this has been suggested by others - Did not work-Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:
(3) Then I also removed the logmanager from -Djboss.modules.system.pkgs=
org.jboss.logmanager"
and then it worked!
So only the combination of 2+3 finally worked.