Skip to content

Spring Tool Suite 17 with maven no longer copies application.properties file to the target folder #929

Closed
@marcgemis

Description

@marcgemis

Describe the bug
When you create a new Spring Boot project (2.76, Maven, Java 17) with Spring Web an application.properties file gets created. When you edit this file, e.g. add server.port=8888 and save the file, the file never appears in the target folder of the project.
This also means that the web application still starts at the default port 8080.

There is no problem with the same project is created with gradle.

Platform MacOS Monterey 12.5.1 Apple M1 chip - Eclipse STS 17.0

To Reproduce
See above

Problem does not occur in STS 14

A non-working maven project, and a working gradle project
sounds-of-animals-maven.zip
sounds-of-animals.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions