You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to add dynamically jars from a folder. And I created simple code and run but I get this error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for /home/fatih/.m2/repository/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-impl-maven/3.1.4/shrinkwrap-resolver-impl-maven-3.1.4.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.jboss.shrinkwrap.resolver.spi.format.FileFormatProcessor not in module
I am using java 11 with module-info.class. My dependecies are:
there is no need to add the layrry-aggregator dependency to your build.
if you want to use Layrry's API to create your own launcher then you need layrry-core, not layrry-launcher as a dependency.
the layrry-platform dependency goes on plugin projects, not on the project that used layrry-core to launch the application.
unfortunately the API exposed by layrry-core can't be used in a modular fashion because some of its dependencies are not modular and provide split packages (like the Shrinkwrap dependencies). this being said, the application and plugins can be modular but the launcher can't, at the moment.
Example Maven configuration for plugin based applications cat be found at
Hello, I want to add dynamically jars from a folder. And I created simple code and run but I get this error:
I am using java 11 with
module-info.class
. My dependecies are:And my test simple code is
But when I import these dependencies
It'is working. Why do i need to import these dependencies? I want to import just your dependency.
And I cannot still add jars from folder on runtime. Could you help me?
The text was updated successfully, but these errors were encountered: