my dog learned polymorphism*
The moose likes Other Application Frameworks and the fly likes Quartz in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Quartz in spring" Watch "Quartz in spring" New topic
Author

Quartz in spring

Kunal Bagri
Greenhorn

Joined: Apr 21, 2008
Posts: 2
M getting this error

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [schedule.xml]; nested exception is java.io.FileNotFoundException: class path resource [schedule.xml] cannot be opened because it does not exist
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:364)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:168)
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
quartz.TimerApp.doGet(TimerApp.java:18)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

java.io.FileNotFoundException: class path resource [schedule.xml] cannot be opened because it does not exist

How are you reading this file ?


[My Blog]
All roads lead to JavaRanch
 
 
subject: Quartz in spring