• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

no bean named 'crontrigger' is defined

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or after removing it, he didn't redeploy his app with the changes. ;)

mark
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic