After upgrading my project from Java 7 to Java 8 i have a problem with some server side code, that uses javax.script.ScriptEngineManager to load and execute some javascript. It seems like the embedded jetty doesn't find the nashorn ScriptEngineFactory, which is loaded via SPI ServiceLoader. This problem only occurs in DevMode or SuperDevMode. When i compile my project and deploy it into Tomcat, everything works as expected.
Im using JDK 1.8.0_31 and GWT 2.7.0 with gwt-maven-plugin 2.7.0 on Windows 8.1.
Does anyone have a hint for me? How could I fix or work around the problem?