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

Classpath scanning does not work for Spring Boot-based JARs #31

Closed
ledsoft opened this issue Mar 18, 2021 · 2 comments
Closed

Classpath scanning does not work for Spring Boot-based JARs #31

ledsoft opened this issue Mar 18, 2021 · 2 comments
Assignees
Labels

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Mar 18, 2021

When using JB4JSON-LD in a Spring Boot-based application, there is problem with classpath scanning. It expects multi-release info in META-INF while it can be in BOOT-INF for Spring Boot applications.

@ledsoft ledsoft added the bug label Mar 18, 2021
@ledsoft ledsoft self-assigned this Mar 18, 2021
@psiotwo
Copy link
Contributor

psiotwo commented Mar 18, 2021

Hypothesis: loading of WAR files never worked, because in WAR files the classes are bundled under WEB-INF/classes and not in the jar root.

(see

if (entryName.endsWith(CLASS_FILE_SUFFIX) && entryName.startsWith(relPath)) {
)

@psiotwo psiotwo assigned psiotwo and unassigned ledsoft Mar 18, 2021
psiotwo added a commit that referenced this issue Mar 18, 2021
psiotwo added a commit that referenced this issue Mar 18, 2021
psiotwo added a commit that referenced this issue Mar 18, 2021
@psiotwo
Copy link
Contributor

psiotwo commented Mar 18, 2021

fixed via #32

@psiotwo psiotwo closed this as completed Mar 18, 2021
psiotwo added a commit that referenced this issue Mar 18, 2021
psiotwo added a commit that referenced this issue Mar 18, 2021
ledsoft pushed a commit that referenced this issue Mar 28, 2021
ledsoft pushed a commit that referenced this issue Mar 28, 2021
ledsoft pushed a commit that referenced this issue Mar 28, 2021
ledsoft pushed a commit that referenced this issue Apr 10, 2021
ledsoft pushed a commit that referenced this issue Apr 10, 2021
ledsoft pushed a commit that referenced this issue Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants