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 .remotesess...@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)

Reply via email to