Hi

I am trying to make a spring webmvc app without XML config with embedded jetty.
But i get this error in the logoutput:
2012-06-05 10:43:05.742:INFO:/ebc:No Spring WebApplicationInitializer types detected on classpath

It works fine if i deploy the war file to a standalone jetty instance or run it with maven-jetty-plugin.

But not when i start jetty with this code:
Code:
org.eclipse.jetty.server.Server server = new org.eclipse.jetty.server.Server(8080);
String dir;
if (new File("src/main/webapp").exists()) dir = "src/main/webapp";
else dir = "ebc/src/main/webapp";
WebAppContext context = new WebAppContext(dir, "/ebc");
context.setClassLoader(Thread.currentThread().getContextClassLoader());
context.setResourceBase(".");
context.setConfigurations (new Configuration []
{
	new WebInfConfiguration (),
	new FragmentConfiguration (),
	new AnnotationConfiguration (),
});
server.setHandler(context);
server.start();
server.join();
Complete test project can be downloaded : http://dl.dropbox.com/u/331760/test-jetty.tar.bz2
Hope someone can help me with this.