Skip to content

add validation to check for @Configuration on web config classes #1728

Closed

Description

@martinlippert

When you have a class that implements WebMvcConfigurer, it should be annotated with @Configuration to take effect:

https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/customize.html

The validation should check for this annotation to be present and offer a quick fix to add that annotation.

Activity

  1. added this to the 5.1.0.RELEASE milestone on Dec 4, 2025
  2. self-assigned this
    on Dec 4, 2025
  3. added
    for: eclipse
    for: vscode
    on Dec 4, 2025
  4. added 2 commits that reference this issue on Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: validationtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions