Skip to content

Spring injection doesn't work after transforming the application #17

@strido

Description

@strido

Our application relies on spring dependency injection, which fails to work after the application is transformed using this migration plugin.

When manually converting the application, the dependency injection seems to work as expected. After investigation I could see that the manually converted application included more transformed spring jars (spring-beans and spring-context) compared to the application produced by this migration plugin.

This seems to be related to the list of artifacts explicitly excluded from transformation, see JakartaEeMigrationExtension.ARTIFACTS_WITH_INTENTIONAL_JAVAX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions