1

How to configure Jetty to work with annotated servlets? The answer from here: Servlet 3.0 support in embedded Jetty 8.0 by Jeff Miller haven't helped. Without his proposed line (context.setConfigurations..) the web app inside provided war file is starting - I know that because app's contextListner writes to console on apps start. Now if I add the line as suggested by Jeff, the app doesn't start at all.. Is there a way to have servlet annotations working in jetty or should i rewrite servlet annotations back to web.xml?

Community
  • 1
  • 1
Kamil
  • 2,158
  • 2
  • 18
  • 19

0 Answers0