Hello,
I'm trying to see the spring-examples on my local computer but when i want to launch the jetty server through src/main/launcher i get the following error:

15:26:05.125 EVENT  Starting Jetty/4.2.9
15:26: 05.140 EVENT  Checking Resource aliases
15:26:05.296 EVENT  Started WebApplicationContext[/spring,wicket-spring-examples]
0 [main] INFO org.springframework.web.context.ContextLoader  - Root WebApplicationContext: initialization started
15:26:05.343 EVENT  Loading Spring root WebApplicationContext
110 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from class path resource [applicationContext.xml ]
110 [main] ERROR org.springframework.web.context.ContextLoader  - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [applicationContext.xml ] cannot be opened because it does not exist
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:167)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:126)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions (XmlWebApplicationContext.java:126)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory (AbstractRefreshableApplicationContext.java:89)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
    at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh (AbstractRefreshableWebApplicationContext.java:134)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:184)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
    at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java :432)
    at org.mortbay.http.HttpServer.start(HttpServer.java:647)
    at jetty.StartSpringExamples.main(StartSpringExamples.java:62)
15:26:05.515 EVENT  jsp: init
15:26:05.687 EVENT  default: init
485 [main] FATAL jetty.StartSpringExamples  - Could not start the Jetty server: org.mortbay.util.MultiException[org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext.xml ]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist, org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist]

it seems that the [applicationContext.xml] file is missing or maybe i'm missing something.
Les

Reply via email to