Closed
Description
Description
When creating a Spring Starter project in a non-default, custom file system location, then Eclipse/STS doesn't create the project correctly.
Steps to Reproduce
- New Spring Starter Project
- Name:
MyProject
- Uncheck
[x] Use default location
and change the path - Set Artifact to
artifact.id
- Add project to working set:
My Working Set
- Complete the form
- Check the Package Explorer view.
Expected
Other Projects
My Working Set
- MyProject (open)
Actual
Other Projects
- artifact.id
My Working Set
- MyProject (closed)
Additional Information
- Windows 11
- Eclipse 2023-03 (4.27.0)
- STS 4.18
- There are no new log messages in
workspace/.metadata/.log
when creating the project - "Run as Spring Boot App" on
artifact.id
seems to work. - The closed project
MyProject
cannot be deleted. It disappears after restarting Eclipse. - Creating Spring Starter projects in default location works as expected.
- Creating a Java or Maven project in non-default locations works as expected.
Workaround
- Create Spring Starter Project with [x] use default location checked.
- Exit Eclipse.
- Move project directory to non-default location on command line.
- Delete the project in Eclipse and re-import it using Import - "Existing Projects into Workspace".