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

Spring Boot CLI adds classes from current directory to the classpath on Unix-like platforms #19910

Closed
mbhave opened this issue Jan 24, 2020 · 2 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@mbhave
Copy link
Contributor

mbhave commented Jan 24, 2020

Running spring in a directory which had another Spring Boot fat jar unzipped, resulted in an error because it was using the Launcher from the unzipped org directory.

@mbhave mbhave added the type: bug A general bug label Jan 24, 2020
@mbhave mbhave added this to the 2.1.x milestone Jan 24, 2020
@gaurav-91

This comment has been minimized.

@wilkinsona
Copy link
Member

0d583de added . to the CLASSPATH, although only to the bash script. As far as I can, the corresponding update was never made to the .bat script. I think we can safely remove . from the classpath.

@wilkinsona wilkinsona changed the title Spring Boot CLI adds classes from current directory to the classpath Spring Boot CLI adds classes from current directory to the classpath on Unix-like platforms Jun 8, 2020
@wilkinsona wilkinsona self-assigned this Jun 8, 2020
@wilkinsona wilkinsona modified the milestones: 2.1.x, 2.1.15 Jun 8, 2020
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

3 participants