From: Paul Yu <py...@ma...> - 2012-07-27 12:52:41
|
Greetings I am trying to switch a few of my attributes from NSTimestamp to JodaDate. I changed the attributes on the EOModel to the prototype of JodaDate, and eogenerated. Then I dropped the schema, created a new schema, and ran migration on the project. When I try to access the application I get the following: Jul 27 08:43:01 FarmTestDataAdmin[55781] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: adaptorValueType: unable to load class named 'LocalDate' for attribute lastEggTestTested on entity FMFarmHouse Jul 27 08:43:01 FarmTestDataAdmin[55781] WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: java.lang.IllegalStateException: adaptorValueType: unable to load class named 'LocalDate' for attribute lastEggTestTested on entity FMFarmHouse [2012-7-27 8:43:1 EDT] <WorkerThread0> java.lang.IllegalStateException: adaptorValueType: unable to load class named 'LocalDate' for attribute lastEggTestTested on entity FMFarmHouse at com.webobjects.eoaccess.EOAttribute.adaptorValueType(EOAttribute.java:2216) at com.webobjects.jdbcadaptor.JDBCColumn.setAttribute(JDBCColumn.java:127) at com.webobjects.jdbcadaptor.JDBCColumn.<init>(JDBCColumn.java:111) at com.webobjects.jdbcadaptor.JDBCChannel.setAttributesToFetch(JDBCChannel.java:504) at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:222) at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1231) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4444) at er.extensions.eof.ERXFetchSpecification.fetchObjects(ERXFetchSpecification.java:126) This is my classpath What am I doing wrong? Thanks in advance... Paul |