- Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
type: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
When having special characters in the path where the files are located (e.g. German umlauts (ä,ö,ü) or accents (é, è); example: /c/Users/username/workbench/café/src/main/java/com/organization/test/Application.java
), the application will fail at the "attaching agents" stage with the error "Could Not Find or Load Main Class". This behavior starts at Spring Boot 3.3.0 and persists (at least) until 3.3.5. Versions 3.2.11 and previous (I tested versions 3.2.8 to 3.2.11) are not affected.
Steps to recreate:
- create a new Spring Boot project (e.g. with initializr) with Spring Boot version 3.3.*, Java 21
- copy it to a path that includes a special character (e.g. to
workbench/café/
) - try starting it via an IDE or via the console (e.g. via
mvn clean compile org.springframework.boot:spring-boot-maven-plugin:run
)
Further information:
- Java 21 (build 21.0.5+9-LTS-239)
- Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
- Windows 10
Metadata
Metadata
Assignees
Labels
type: regressionA regression from a previous releaseA regression from a previous release