Windows 7, jetty 9.2 I followed all the instructions at
http://www.eclipse.org/jetty/documentation/9.2.3.v20140905/frameworks.html also copied the jetty-spring.xml from here.
I have spring files copied to jetty home/lib/spring , (also see the jetty spring integration jar here) I have the jetty-deploy-9.2.2.v20140723.jar added to the classpath
When I do
Java start.jar jetty-spring.xml I always end up with this exception, what am I doing wrong? Can someone please help? Running out of all options now.
Reagrds
-
Anu
Dec 24, 2014 2:42:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jetty-spring.xml]
Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'webappprovider' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:570)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1114)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:279)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.eclipse.jetty.spring.SpringConfigurationProcessor.doConfigure(SpringConfigurationProcessor.java:162)
at org.eclipse.jetty.spring.SpringConfigurationProcessor.configure(SpringConfigurationProcessor.java:119)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:262)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1243)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)