Skip to content

Creating a Spring Starter project in non-default file system location #1025

Closed
@fenjen

Description

@fenjen

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

  1. New Spring Starter Project
  2. Name: MyProject
  3. Uncheck [x] Use default location and change the path
  4. Set Artifact to artifact.id
  5. Add project to working set: My Working Set
  6. Complete the form
  7. 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

  1. Create Spring Starter Project with [x] use default location checked.
  2. Exit Eclipse.
  3. Move project directory to non-default location on command line.
  4. Delete the project in Eclipse and re-import it using Import - "Existing Projects into Workspace".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions