Hi Martin
Thanks I found out there was a tomcat-jasper JAR by mistake that causes this. Removed it deprecated and Weld detects Jetty only , and there is no stacktraces/errors anymore:
2016-09-15 15:15:05,453 [main ] INFO servletJetty - WELD-ENV-001200: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
Maybe that is an uncommon mistake? But some servers uses Jasper JSP compiler from Tomcat and thus it may confuse WELD what server you use.
|