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
{{ message }}
Repository navigation
deleting a web config class doesn't re-trigger validation of controllers #1971
There is a validation that checks version attributes on controller request mappings to see if there is a web config around that configures the API versioning (or alternatively config properties). If there is no API versioning configuration found, a problem marker is added to the version validation.
However, when there is a web config in place that gets deleted (the whole file), the validation doesn't re-validate the controller classes in order to add that problem marker.
This is probably an overall missing piece in the validation <-> dependency tracking mechanism and should be investigated to avoid stale diagnostics from showing up.
Hi @martinlippert , I'm interested in contributing to Spring Tools and came across this issue. I noticed it's assigned to you. Is there a smaller, independent part of the validation or dependency-tracking work that would be suitable for an external contribution?
@dhanush080607 It depends a bit on what exactly you are interested in and what your overall experience using Spring and Spring Boot is. If you want to give a specific validation a try, this report might be interesting: #1193 - but it would require building some understanding about @Transactional and similar annotations in Spring.
Activity
dhanush080607 commentedon Oct 16, 2026
Hi @martinlippert , I'm interested in contributing to Spring Tools and came across this issue. I noticed it's assigned to you. Is there a smaller, independent part of the validation or dependency-tracking work that would be suitable for an external contribution?
martinlippert commentedon Oct 16, 2026
@dhanush080607 It depends a bit on what exactly you are interested in and what your overall experience using Spring and Spring Boot is. If you want to give a specific validation a try, this report might be interesting: #1193 - but it would require building some understanding about
@Transactionaland similar annotations in Spring.