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:
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...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:52:07,390 ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed> org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'phoneBook' defined in class path resource [org/springframework/webflow/samples/phonebook/deploy/service-layer.xml]: Bean class [org.springframework.webflow.samples.phonebook.dao.PhoneBookImpl] not found; nested exception is java.lang.ClassNotFoundException: org.springframework.webflow.samples.phonebook.dao.PhoneBookImpl java.lang.ClassNotFoundException: org.springframework.webflow.samples.phonebook.dao.PhoneBookImpl at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
Do you have any clues ? Or idea ? I'm quite open to suggestion right now... :cry:
Thanks


Reply With Quote