Hello,
I'm trying to do a web app using : Spring 2.5/Hibernate 3.0 (hbm.xml... and .cgf.xml) / and Zk (http://www.zkoss.org
framework.
but when i create an event to call my bean :
I have this exception.Code:ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("AppContext.xml"); BusinessLayer business = (BusinessLayer) ctx.getBean("business");
I have spring.jar, spring-context.jar,...and alle spring 2.5.6 jars referenced in my buildpathCode:>>java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext >>java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext >> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) >> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491) >> at com.projet.uicontroller.RegPersController.onEvent(RegPersController.java:43) >> at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141) >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519) >>...
i didn't found a solution to my problème![]()



Reply With Quote
