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

4.x: Archetypes cannot be launched on module path #7713

Closed
tomas-langer opened this issue Oct 4, 2023 · 0 comments · Fixed by #7803
Closed

4.x: Archetypes cannot be launched on module path #7713

tomas-langer opened this issue Oct 4, 2023 · 0 comments · Fixed by #7803
Assignees
Labels
4.x Version 4.x archetypes bug Something isn't working
Milestone

Comments

@tomas-langer
Copy link
Member

For example the first project generated in target/projects/myproject fails.

Start it (requires #7711 to work without specifying main class):

java --module-path target/myproject.jar:target/libs -m com.example.myproject

Output:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module org.glassfish.jaxb.core not found, required by org.glassfish.jaxb.runtime

Works fine on classpath.

@tomas-langer tomas-langer added bug Something isn't working archetypes 4.x Version 4.x labels Oct 4, 2023
@tomas-langer tomas-langer added this to the 4.0.0 milestone Oct 4, 2023
@romain-grecourt romain-grecourt linked a pull request Oct 16, 2023 that will close this issue
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x archetypes bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants