Skip to content

WELD-001417: LoggingInterceptor declared in beans.xml fails to deploy on WildFly 38.0.1 #30

@Fabian190595

Description

@Fabian190595

Deployment Error message

{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"applicationPetstore.war\".WeldStartService" => "Failed to start service Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001417: Enabled interceptor class org.agoncal.application.petstore.util.LoggingInterceptor (<{http://xmlns.jcp.org/xml/ns/javaee}class>org.agoncal.application.petstore.util.LoggingInterceptor</{http://xmlns.jcp.org/xml/ns/javaee}class> in vfs:/content/applicationPetstore.war/WEB-INF/beans.xml@5) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive"}}

Environment details

using openjdk 21.0.8 2025-07-15
OpenJDK Runtime Environment (build 21.0.8+9-Ubuntu-0ubuntu124.04.1)
OpenJDK 64-Bit Server VM (build 21.0.8+9-Ubuntu-0ubuntu124.04.1, mixed mode, sharing)
Wildfly verion: 38.0.1.Final

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions