Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7AFA4200B99 for ; Wed, 5 Oct 2016 08:28:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79990160ADE; Wed, 5 Oct 2016 06:28:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B864D160ADB for ; Wed, 5 Oct 2016 08:28:29 +0200 (CEST) Received: (qmail 54871 invoked by uid 500); 5 Oct 2016 06:28:28 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 54854 invoked by uid 99); 5 Oct 2016 06:28:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 06:28:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 70C3D1A03EB for ; Wed, 5 Oct 2016 06:28:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=objectstyle.org header.b=NWpfkYFo; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=fJ/9zctE Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2Qrn-wI2hBrY for ; Wed, 5 Oct 2016 06:28:26 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 482CA5F245 for ; Wed, 5 Oct 2016 06:28:26 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 707F020778 for ; Wed, 5 Oct 2016 02:28:25 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 05 Oct 2016 02:28:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=objectstyle.org; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=/CwXRkH3ZdvPZo7kZTwhyHJDeQw=; b=NWpfkY FoBVedvANPw4uSNhhCpxE+4DzA287W/BsnTcE0RyFDr0HQfhmS36vyl68zn2t98b ttdtYgvGwXMr3ZZDPILB9u5ZIB8lFQpfjxM0DU4/AiIYH7hilihPIFm8xKBsvJ3a FUobk0TJAWSPsTTrBobWygBBuNcoqQMgrTca4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=/CwXRkH3ZdvPZo7 kZTwhyHJDeQw=; b=fJ/9zctEtMOE78c2VfMBqYmn2tm72Oim4Ua3rG4jtJjRCUY WIWihYwvqaXmc9u/r/FVqe3zTs7SN6LEjyuwcu6l05Pf/ngnkfeQW9HRw7BVh7Xl k6BzlKzzZRTHdtxjS/scwP9uwP45zn6FYl2F1QxAnEvy1MGAnla7FmvfCtsM= X-Sasl-enc: KTFNswvOscRVrgyJ827qumLSw4OaeWrugM9xlEShvvBB 1475648905 Received: from [192.168.1.58] (unknown [37.17.49.228]) by mail.messagingengine.com (Postfix) with ESMTPA id 07F51CC082 for ; Wed, 5 Oct 2016 02:28:24 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: EJBQL error From: Andrus Adamchik In-Reply-To: Date: Wed, 5 Oct 2016 09:28:24 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <2FC783ED-E202-45A5-9E0E-4933CE0ECEF9@objectstyle.org> References: To: user@cayenne.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Wed, 05 Oct 2016 06:28:30 -0000 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 = wrote: >=20 > Hey guys, I was experimenting with EJBQL and don=E2=80=99t have any = compile errors, > but get this at runtime: >=20 > Caused by: java.lang.ClassNotFoundException: > org.apache.cayenne.ejbql.parser.EJBQL$EJBQLDefaultParser >=20 > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) >=20 > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >=20 > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) >=20 > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >=20 > at java.lang.Class.forName0(Native Method) >=20 > at java.lang.Class.forName(Class.java:348) >=20 > at org.apache.cayenne.ejbql.EJBQLParserFactory.getParserClass( > EJBQLParserFactory.java:37) >=20 > at org.apache.cayenne.ejbql.EJBQLParserFactory.getParser( > EJBQLParserFactory.java:47) >=20 >=20 > Any ideas? >=20 >=20 > Thanks, >=20 >=20 > Lon