cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: EJBQL error
Date Wed, 05 Oct 2016 06:28:24 GMT
Sometimes IDE (specifically Eclipse) messes up the Maven build for EJBQL that has a special
parser compilation step. The way to fix it for me was to rebuild from command line and then
go back to Eclipse and run tests, etc.

Andrus

> On Oct 5, 2016, at 3:12 AM, Lon Varscsak <lon.varscsak@gmail.com> wrote:
> 
> Hey guys, I was experimenting with EJBQL and don’t have any compile errors,
> but get this at runtime:
> 
> Caused by: java.lang.ClassNotFoundException:
> org.apache.cayenne.ejbql.parser.EJBQL$EJBQLDefaultParser
> 
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 
> at java.lang.Class.forName0(Native Method)
> 
> at java.lang.Class.forName(Class.java:348)
> 
> at org.apache.cayenne.ejbql.EJBQLParserFactory.getParserClass(
> EJBQLParserFactory.java:37)
> 
> at org.apache.cayenne.ejbql.EJBQLParserFactory.getParser(
> EJBQLParserFactory.java:47)
> 
> 
> Any ideas?
> 
> 
> Thanks,
> 
> 
> Lon


Mime
View raw message