Greetings, I am trying to run my Karaf application under JDK 11. I am getting the following exception:
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.ops4j.pax.web.pax-web-jsp_7.2.3 It appears that the jigsaw module providing this package is not available in JDK 11. The suggestion is to use a dependency. Wondering if anybody ran into this and what a solution/workaround might be. Thank you! Oleg