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
Many guides on Spring academy will work when run with ./gradlew bootRun but won't if the user runs the application from VSCode. I've found that this compiler argument can be turned on by adding a JDT compiler configuration file.
Could you update the VSCode image to include this by default?
The text was updated successfully, but these errors were encountered:
Thanks @bclozel we should be able to overlay the necessary configuration into the Academies editor configuration. We'll give a go and report back here.
As of Spring Framework 6.1, Spring applications now need to be compiled with the "-parameters" Java compiler argument. This is now required for many Spring features - most annotation-based programming models in Spring need to read the names of method parameters.
For example, this Spring MVC controller will not work anymore if this compiler argument is not set:
Many guides on Spring academy will work when run with
./gradlew bootRun
but won't if the user runs the application from VSCode. I've found that this compiler argument can be turned on by adding a JDT compiler configuration file.Could you update the VSCode image to include this by default?
The text was updated successfully, but these errors were encountered: