• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
      • From: Chuck Hill <email@hidden>
    • Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Linux
  • Next by Date: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
  • Previous by thread: Re: Linux
  • Next by thread: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
  • Index(es):
    • Date
    • Thread