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

Invalid classpath index manifest attribute in war files built with Maven #28895

Closed
scottfrederick opened this issue Dec 2, 2021 · 1 comment
Assignees
Labels
type: bug A general bug
Milestone

Comments

@scottfrederick
Copy link
Contributor

When packaging a war file, the Spring Boot Maven plugin will add a Spring-Boot-Classpath-Index: WEB-INF/classpath.idx entry to the META-INF/MANIFEST.MF file. The classpath index is not currently supported with war files and the index file named in the manifest entry does not exist in the archive.

@scottfrederick scottfrederick self-assigned this Dec 2, 2021
@scottfrederick scottfrederick added the type: bug A general bug label Dec 2, 2021
@scottfrederick scottfrederick added this to the 2.5.x milestone Dec 2, 2021
@scottfrederick scottfrederick changed the title Invalid classpath index entry in war files built with Maven Invalid classpath index manifest attribute in war files built with Maven Dec 2, 2021
@scottfrederick scottfrederick modified the milestones: 2.5.x, 2.5.8 Dec 3, 2021
@hyslopc
Copy link

hyslopc commented Apr 13, 2023

@scottfrederick thx for this fix :). I had this exact problem. Is the world getting smaller, or is it just me ;)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants