Skip to content

support running on the module path #4

@guyv

Description

@guyv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions