Re: adaptorValueType: unable to load class named 'LocalDate' for attribute

Johann Werner <[email protected]>
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
Hi Paul,

you are missing the framework ERAttributeExtension that must come before JavaEOAccess.

jw


Am 27.07.2012 um 14:52 schrieb Paul Yu:

> 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
> <PastedGraphic-1.pdf>
> 
> What am I doing wrong?
> 
> Thanks in advance...
> 
> Paul
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Wonder-disc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.