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
Download spring-petclinic project into a parent path with white space. e.g. C:/empty space
Open it in VS Code (installed vscode-java-pack extension)
Changed the console option in launch.json to integratedTerminal
Run the spring-petclinic project, and the integrated terminal will show a message at the begining. The Class-Path manifest attribute in C:\Users\jinbwan\AppData\Local\Temp\cp_4bwsd8d4n0k0fxz6uwwaduweu.jar referenced one or more files that do not exist: file:/C:/Work/Debugger/Bug_Cases/empty%20space/spring-petclinic/target/classes/
Background:
VS Code Java Debugger extension will generate the classpath args into a classpath.jar. And it uses absolute path in classpath.jar, and encode them as URL. When the classpath has white space, it will get the error message above. But if i moved spring-petclinic to a normal folder without whitespace, it works well.
So this looks like a corner case not covered.
The text was updated successfully, but these errors were encountered:
wilkinsona
changed the title
Stop the message 'The Class-Path manifest attribute ... not exist' when using MANIFEST jar
DevTools does not correctly handle encoded URLs found in the Class-Path manifest attribute
Oct 3, 2019
Environment:
spring-boot 2.1.6.RELEASE
Steps to Reproduce:
C:/empty space
console
option in launch.json tointegratedTerminal
The Class-Path manifest attribute in C:\Users\jinbwan\AppData\Local\Temp\cp_4bwsd8d4n0k0fxz6uwwaduweu.jar referenced one or more files that do not exist: file:/C:/Work/Debugger/Bug_Cases/empty%20space/spring-petclinic/target/classes/
Background:
VS Code Java Debugger extension will generate the classpath args into a classpath.jar. And it uses absolute path in classpath.jar, and encode them as URL. When the classpath has white space, it will get the error message above. But if i moved spring-petclinic to a normal folder without whitespace, it works well.
So this looks like a corner case not covered.
The text was updated successfully, but these errors were encountered: