|
From: Jack T. <hi...@gm...> - 2005-03-08 09:15:22
|
Hi Spring guys Does spring support JDO2? I have gooogled, it said yes. And I followed the tutorial <http://www.jpox.org/docs/1_1/tutorials/springframework.html>. Some exceptions here: ERROR - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'jdoPMF' defined in ServletContext resource [/WEB-INF/applicationContext- dao.xml]: Initialization of bean failed; nested exception is javax.jdo.JDOFatalU serException: JDO 2.0 capabilities cannot be accessed! Please make sure that you do not have a JDO 1.0 jar in front of the JDO 2 classes in your CLASSPATH. javax.jdo.JDOFatalUserException: JDO 2.0 capabilities cannot be accessed! Please make sure that you do not have a JDO 1.0 jar in front of the JDO 2 classes in y our CLASSPATH. at org.jpox.AbstractPersistenceManagerFactory.<init>(AbstractPersistence ManagerFactory.java:113) at org.jpox.PersistenceManagerFactoryImpl.<init>(PersistenceManagerFacto ryImpl.java:437) at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(P ersistenceManagerFactoryImpl.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) My spring version is 1.1.5, with jpox version 1.1.0-beta-1, and jdo.jar I copyed it from Spring's lib. So, any suggestions on how to make Spring and JDO2 harmonic? Thanks /Jack |