You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The new STS Tools 4.17.1 for Eclipse version is ignoring files from src/main/resources. At the end also profile dependent settings. In fact it seems to ignore all files and configs in the resource folder.
To Reproduce
Create a new project (build tool maven) from the starter functionality with dependencies below:
Spring Boot DevTools
Spring Web
Then I copied a differentbanner.txt into the src/main/resources folder and started the application from the Boot Dashboard view.
The result is that the banner is not shown in the console.
See this simple demo video:
IDE_Bug_demo.mp4
The issue does not occur using STS Tools 4.16.0. See video:
IDE_Bug_demo_works.mp4
I am not sure if it helps, but I also checked out the command line when starting the application. The only difference is the used java agent. Not working:
"-javaagent:C:\usr\IDEs\sts-bundle\sts-4.17.1.RELEASE\configuration\org.eclipse.osgi\267\0.cp\lib\javaagent-shaded.jar" Working:
"-javaagent:C:\usr\IDEs\sts-bundle\sts-4.16.0.RELEASE\configuration\org.eclipse.osgi\268\0.cp\lib\javaagent-shaded.jar"
The text was updated successfully, but these errors were encountered:
I think you are hitting this issue: #929 - therefore closing this as a duplicate. #929 (comment) contains a description how to grab the latest snapshot from m2e to fix the issue. I hope that there will be a new release of m2e around when we ship 4.17.2 in early Feb to include this fix.
Description
The new STS Tools 4.17.1 for Eclipse version is ignoring files from src/main/resources. At the end also profile dependent settings. In fact it seems to ignore all files and configs in the resource folder.
To Reproduce
Create a new project (build tool maven) from the starter functionality with dependencies below:
Then I copied a differentbanner.txt into the src/main/resources folder and started the application from the Boot Dashboard view.
The result is that the banner is not shown in the console.
See this simple demo video:
IDE_Bug_demo.mp4
The issue does not occur using STS Tools 4.16.0. See video:
IDE_Bug_demo_works.mp4
I am not sure if it helps, but I also checked out the command line when starting the application. The only difference is the used java agent.
Not working:
"-javaagent:C:\usr\IDEs\sts-bundle\sts-4.17.1.RELEASE\configuration\org.eclipse.osgi\267\0.cp\lib\javaagent-shaded.jar"
Working:
"-javaagent:C:\usr\IDEs\sts-bundle\sts-4.16.0.RELEASE\configuration\org.eclipse.osgi\268\0.cp\lib\javaagent-shaded.jar"
The text was updated successfully, but these errors were encountered: