-
Notifications
You must be signed in to change notification settings - Fork 7
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
support running on the module path #4
Labels
bug
Something isn't working
Comments
I haven't done any research into supporting modules yet. But I suppose it's time. :) |
any progress on this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using webjars-locator in an application that runs on the module path (java 9 jpms modules), then following exception occurs at startup:
java.lang.module.ResolutionException: Modules webjars.locator and webjars.locator.core export package org.webjars
This can be fixed by using another package for the RequireJS class, eg org.webjars.requirejs
This is of course a breaking change for the consumers of this library.
Changing the package in webjars-locator-core is also an option. But Spring Boot is depending on org.webjars.WebJarAssetLocator
Another option would be the use the maven-shade-plugin to include the classes of webjars-locator-core in this jar.
The text was updated successfully, but these errors were encountered: