cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject Re: EJBQL error
Date Wed, 05 Oct 2016 16:51:39 GMT
That was it, thanks!

-Lon

On Tue, Oct 4, 2016 at 11:28 PM, Andrus Adamchik <andrus@objectstyle.org>
wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message