cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karen Harper <karenahar...@gmail.com>
Subject ROP Tutorial (Version 2) problem: No entity mapped for class
Date Sat, 07 Mar 2009 23:53:12 GMT

Hello,

I am working through the ROP tutorial with Version 2.0.4 and Hessian  
3.0.13. I have set up the web service and the client, and I know my  
client is connecting because the first connections to clear the  
database tables work. But, when I try to create a data object on the  
client side, it appears I have missed something (see stack below).  
Insight would be most appreciated.

Thanks,
Karen



Mar 7, 2009 5:57:52 PM  
org.apache.cayenne.remote.hessian.HessianConnection connect
INFO: Connecting to [http://localhost:8080/example-web-tomcat/cayenne-service 
] - dedicated session.
Mar 7, 2009 5:57:52 PM  
org.apache.cayenne.remote.hessian.HessianConnection connect
INFO: === Connected, session:  
org 
.apache 
.cayenne 
.remote 
.RemoteSession@3fa6cd[sessionId=112D519F5ADB9D2BEA685B84C6521D45] -  
took 122 ms.
Mar 7, 2009 5:57:52 PM org.apache.cayenne.remote.BaseConnection  
sendMessage
INFO: --- Message 0: Bootstrap
Mar 7, 2009 5:57:52 PM org.apache.cayenne.remote.BaseConnection  
sendMessage
INFO: === Message 0: Bootstrap done - took 19 ms.
Mar 7, 2009 5:57:52 PM org.apache.cayenne.remote.BaseConnection  
sendMessage
INFO: --- Message 1: Query
Mar 7, 2009 5:57:52 PM org.apache.cayenne.remote.BaseConnection  
sendMessage
INFO: === Message 1: Query done - took 12 ms.
Exception in thread "main" org.apache.cayenne.CayenneRuntimeException:  
[v.2.0.4 October 8 2007] No entity mapped for class: class  
cayenne.tutorial.client.Artist
	at org.apache.cayenne.CayenneContext.newObject(CayenneContext.java:266)
	at  
cayenne 
.tutorial 
.client 
.CayenneTutorialClientApp 
.dataObjectsChapter(CayenneTutorialClientApp.java:52)
	at  
cayenne 
.tutorial 
.client.CayenneTutorialClientApp.main(CayenneTutorialClientApp.java:41)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message