Results 1 to 2 of 2

Thread: [solved] How comes SpringCore does not find a Class ?

Hybrid View

  1. #1

    Default [solved] How comes SpringCore does not find a Class ?

    Hi,

    I modified the phonebook to add my own implementation of the PhoneBook interface. I change the bean's class in the xml file to the new class file.
    At run time, I have a log in tomcat logfile, coming from spring, that state that:

    Code:
    INFO: Installation d'une application pour le chemin de contexte /phonebook depuis l'URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\phonebook
    2005-08-09 10&#58;52&#58;07,390 ERROR &#91;org.springframework.web.context.ContextLoader&#93; - <Context initialization failed>
    org.springframework.beans.factory.BeanDefinitionStoreException&#58; Error registering bean with name 'phoneBook' defined in class path resource &#91;org/springframework/webflow/samples/phonebook/deploy/service-layer.xml&#93;&#58; Bean class &#91;org.springframework.webflow.samples.phonebook.dao.PhoneBookImpl&#93; not found; nested exception is java.lang.ClassNotFoundException&#58; org.springframework.webflow.samples.phonebook.dao.PhoneBookImpl
    java.lang.ClassNotFoundException&#58; org.springframework.webflow.samples.phonebook.dao.PhoneBookImpl
    	at org.apache.catalina.loader.WebappClassLoader.loadClass&#40;WebappClassLoader.java&#58;1340&#41;
    	at org.apache.catalina.loader.WebappClassLoader.loadClass&#40;WebappClassLoader.java&#58;1189&#41;
    Of course, at first, i believed that i had mispelled something. But after checking 3 times, the bean declaration, the class name, it's location in the "classes" directory, i can't find any. So I wondering if there may not be an another reason for the error...
    Do you have any clues ? Or idea ? I'm quite open to suggestion right now... :cry:

    Thanks

  2. #2

    Default

    I don't realy know how buti solved it ...

Similar Threads

  1. Cannot compile JasperReports
    By wfcheang in forum Web
    Replies: 6
    Last Post: Dec 5th, 2005, 01:46 AM
  2. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Replies: 3
    Last Post: Sep 4th, 2005, 11:11 PM
  5. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •