Java EE 8 on Java 9 - From Install to Deployment with OpenLiberty Server

Download, install, configure openliberty.io and deploy a sample Java EE 8 application with Java 9 features under 10 minutes with Maven:

See you at Java EE 8 on Java 9, at Munich Airport, Terminal 2

Comments:

Hi Adam

I am trying to run this on windows 7 using the same JDK and Open Liberty versions as you.

I get a warning in console.txt:

Illegal reflective access by org.apache.aries.jndi.startup.Activator (file:/C:/wlp/lib/com.ibm.ws.org.apache.aries.jndi.core_1.1.19.jar) to field javax.naming.spi.NamingManager.initctx_factory_builder

and an error:

CWWKZ0002E: An exception occurred while starting the application javaee8. The exception message was: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException

I would be grateful if you have any suggestions

neil

Posted by Neil on December 04, 2017 at 01:46 PM CET #

Hi Adam,

There is a nice Maven plugin which makes working with Open Liberty easier.

https://github.com/WASdev/ci.maven

Posted by vsmid on December 05, 2017 at 10:02 PM CET #

I downloaded the latest development build of Open Liberty, and it now works on windows.

Posted by neil on January 20, 2018 at 12:56 PM CET #

Adam - You can run "./server run javaee8" and it will run in foreground or console mode.

Posted by Tom MCManus on March 20, 2018 at 02:39 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License