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

Can't run embeded Vert.x under JDK9 #1889

Closed
twasyl opened this issue Mar 23, 2017 · 3 comments
Closed

Can't run embeded Vert.x under JDK9 #1889

twasyl opened this issue Mar 23, 2017 · 3 comments

Comments

@twasyl
Copy link

twasyl commented Mar 23, 2017

Hello,

I'm currently trying to migrate SlideshowFX to JDK9 (build 161 with Jigsaw).
The application embeds Vert.x in order to provide a WebServer. Until now I have been using Vert.x 3.3.3 and the application was running "well". Now I'm trying to use versions 3.4.0 and 3.4.1 and when starting the application, I've got the following error and the application can't boot:

Error occurred during initialization of boot layer
java.lang.module.FindException: java.io.IOException: Provider class moduleName = io.vertx.ext.web.handler.VirtualHostHandler-module not in module
Caused by: java.io.IOException: Provider class moduleName = io.vertx.ext.web.handler.VirtualHostHandler-module not in module

When looking at the source code of vertx-web, I can see the META-INF/services/org.codehaus.groovy.runtime.ExtensionModule file. As specified by the ServiceLoader class, such files are used in order to define services not developed as JPMS modules but running as JAR files on the classpath. I suppose the addition of this file is intentional by the Vert.x developers but I can't figure out how to be able to start SlideshowFX again.

Have you encountered such issue and were able to fix it?

Thanks

@vietj
Copy link
Member

vietj commented Mar 23, 2017

hi can you open this issue on the Vert.x Web issue tracker instead ? https://github.com/vert-x3/vertx-web

@twasyl
Copy link
Author

twasyl commented Mar 23, 2017

Hi,

I've opened the issue 567.

Thanks.

@twasyl twasyl closed this as completed Mar 23, 2017
@vietj
Copy link
Member

vietj commented Mar 23, 2017

thanks!

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