Java Mailing List Archive

Home » user.castor »

[castor-user] [JDO] spring 3 with castor orm on gf3?

Zoltan Levardy


Replies: Find Java Web Hosting

Author LoginPost Reply

I am trying use old code (castor, with spring v3 on a glassfish v3 server. Is there any hints on this topic? (avoid, or working, … etc.)

Next imports in place now in DAO:
import org.exolab.castor.jdo.Database;
import org.exolab.castor.jdo.JDO;
import org.exolab.castor.jdo.OQLQuery;
import org.exolab.castor.jdo.PersistenceException;
import org.exolab.castor.jdo.TransactionNotInProgressException;
import org.exolab.castor.jdo.QueryResults;
import org.exolab.castor.mapping.MappingException;
and in DTO:
import org.exolab.castor.jdo.TimeStampable;

to use as it was, simply giving error at mapping.xml:
<class name="" …

it gives exception like this, and it is strange, because the is absolutely there:
[#|2013-01-23T10:46:39.539+0100|INFO|sun-appserver2.1||_ThreadID=135;_ThreadName=Thread-75;|[2013-01-23 10:46:39.538+0100] [App:ERROR] [Thread-75] BaseDAO(): 
org.exolab.castor.mapping.MappingException: Could not find the class

found something here, but not sure is it working with spring v3, and gf v3:

thanks for any hints,
©2008 - Jax Systems, LLC, U.S.A.