Title: RE: [castor-dev] NoDefClassFound

that is the correct behaviour - otherwise it wouldn't know which class to use! :)

The best solution is to do this:

"from " + MyClass.class.getName()

That way if you move or rename it you don't get errors later.

Cheers,
Brett

-----Original Message-----
From: Dmitry Macsema [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 17 October 2001 6:05 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] NoDefClassFound



When I specify in a OQL query "from MyClass" NoDefClassFound exception
is thrown, however, if I specify full path (i.e. mypackage.MyClass)
everything works fine. Castor is in CLASSPATH, not in /ext.

--
Best regards,
 Dmitry                          mailto:[EMAIL PROTECTED]

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to