Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Wildfly not loading annotated servlets from dependency jar

30 views
Skip to first unread message

Claudio Weiler

unread,
Jan 14, 2025, 2:01:01 PMJan 14
to WildFly

Hi!

We are migrating a Java EE 8 project to Jakarta EE 10, from Wildfly 26 to Wildfly 34, but WF 34 stopped to load annotated Servlets from dependency jars.

Annotated Servlets (with @WebServlet) are not loaded on WF 34, but if I explicitly declare it on web-fragment.xml then it works.

Are we missing some new configuration from Jakarta EE or Wildfly?


Thanks!

Claudio Weiler

Brian Stansberry

unread,
Jan 20, 2025, 12:30:50 PMJan 20
to WildFly
Just for the history: we were able to identify the issue with the deployment in the discussion at https://wildfly.zulipchat.com/#narrow/channel/196266-wildfly-user/topic/Wildfly.20not.20loading.20annotated.20servlets.20from.20dependency.20jar
Reply all
Reply to author
Forward
0 new messages