java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
- Subject: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
- From: Chris * <email@hidden>
- Date: Mon, 4 Jun 2007 23:22:07 +0200 (CEST)
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden