Hello Everyone!
While deploying my first WO Application, I get the
following exception:

java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class Server ...

The class "Server" is generated by EOModeler from the
Entity of the same name. The exception ocurrs when I
instatiate the class:
... 

Session session = (Session)session();
EOEditingContext editingContext =
session.defaultEditingContext();
                
EOClassDescription serverCD =
EOClassDescription.classDescriptionForEntityName("Server");
Server server = new Server();

editingContext.insertObject(server);
...

"EOModelGroup.defaultGroup().modelNames()" contained
the Model with the entity server.
When I use Direct2Web, I can connect to the DB, create
and search for "Server" entries, so I don't think it's
related to the MySQL Setup, or a flaw in the
EOModeling.

Thanks in advance,

Chris


                
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to