Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no bean named 'crontrigger' is defined

 
Shajid Johnny
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello dear members,
I am working on modifying and enhancing an existing application which is built on Struts (for MVC) , Spring (for Service layer), Tomcat App Server.
in the application, there is a Job Scheduler defined if the ApplicationContext.xml which i am showing bellow:



when i run the application, it shows the following error:


even if i remove the reference , still it shows the above error.

i am new to Spring, and all i have is a basic knowledge on Spring Job scheduler. but i don't get the clue what to do here.

would anybody please give me some hint?
Thanks in advance
 
Tom Reilly
Rancher
Posts: 618
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see a bean defined with id = "cronTrigger". You need one of these when you useAs for still seeing the error after you removed the above line, I would look at the possibility that you removed it from the wrong file or a file in the wrong directory. Or perhaps there is another XML file that has those same lines?
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or after removing it, he didn't redeploy his app with the changes. ;)

mark
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic