I am currently trying to get an application with two Servlets registered in a WebApplicationInitializer to run in Jetty 8.x.
I am having the problem as described here. I was hoping someone could elaborate on this statement:
Does this mean:
Put the root context as an argument into the dispatcherContext.
This only seems to work if I remove:
ContextLoaderListener listener = new ContextLoaderListener(rootContext);
However, when I add Spring Security back in and go to a secured page I hit:
Which is of course correct!
No WebApplicationContext found: no ContextLoaderListener registered?
Can someone just point me in the right direction here? Thanks.