]
Анатолий Широков updated WFLY-9970:
-----------------------------------
Workaround Description:
wildfly-12.0.0.Final\modules\system\layers\base\org\jboss\jandex\main\jandex-2.0.4.Final.jar
must be replaced on jandex-2.0.3.Final.jar from wildfly-11.0.0.Final
WildFly 12.0.0.Final + Java 9 ignores @WebServlet
-------------------------------------------------
Key: WFLY-9970
URL:
https://issues.jboss.org/browse/WFLY-9970
Project: WildFly
Issue Type: Bug
Components: EE
Affects Versions: 12.0.0.Final
Environment: os: Windows Proffessional 7 64 bit
jdk: Oracle JDK 9.0.4, Oracle JDK 1.8.0_162
mvn: Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T10:58:13+03:00)
Reporter: Анатолий Широков
I have WildFly 12.0.0.Final server running on JDK 9. I have simple maven based annotated
servlet project:
https://github.com/anatoly-spb/simple-annotated-servlet .
If I build my project with Java 9, WildFly does not see @WebServlet annotation. If I
build my project with Java 1.8, WildFly uses @WebServlet annotation and works as expected.