Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 55066 invoked from network); 9 Apr 2007 03:14:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 03:14:54 -0000 Received: (qmail 72926 invoked by uid 500); 9 Apr 2007 03:15:00 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 72893 invoked by uid 500); 9 Apr 2007 03:15:00 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 72884 invoked by uid 99); 9 Apr 2007 03:15:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 20:15:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mprudhomapache@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 20:14:53 -0700 Received: by wx-out-0506.google.com with SMTP id i26so1526783wxd for ; Sun, 08 Apr 2007 20:14:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=UPXnXgsghWWUJV9DcPwVRAljr77eRvDajnxg8Cd+5sCq++z+jcFnCs0OCHujVlT41CAuAGJo+tdd4TpoE/oarfy8HcjLj8Spafq/D3DR2J5aWHsnS1WZr4Dllc9twPwBq2mKr4T60evzBpDFt6ipBlGfaIPzJsVYTDxNUcqDFj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=gjMTGH+mH0dRtCUyPO//c5xq7DUQX5wqoltOR46wigkNoK1Ud9v86yoj0Q5Ce9jJeUvQn11RtWiu085iyYmGpMSd8hbtStJOinPtlXIl9dejeLb8U949zJeH8llXbRYCo1bQLHonBwpeh1sDC1FfxqBbp40LBQIBxKM+k1feycE= Received: by 10.114.179.1 with SMTP id b1mr2138842waf.1176088472042; Sun, 08 Apr 2007 20:14:32 -0700 (PDT) Received: from ?192.168.15.101? ( [67.189.29.203]) by mx.google.com with ESMTP id m28sm73686poh.2007.04.08.20.14.31; Sun, 08 Apr 2007 20:14:31 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <007d01c77a52$7a6b7c80$6601a8c0@tyan2400> References: <007d01c77a52$7a6b7c80$6601a8c0@tyan2400> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <808CCD57-0FB9-4479-A36A-83CD473C1593@apache.org> Content-Transfer-Encoding: 7bit From: Marc Prud'hommeaux Subject: Re: Mapping tool in eclipse Date: Sun, 8 Apr 2007 20:14:23 -0700 To: open-jpa-dev@incubator.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Marc Prud'hommeaux X-Virus-Checked: Checked by ClamAV on apache.org Phill- It sounds like you have the tool set up to use the openjpa-all-0.9.6- incubating.jar, but you haven't added any of the other required dependencies to the environment's classpath. You should put everything (except the derby jar) in the lib/ directory of the OpenJPA distribution in the environments classpath. On Apr 8, 2007, at 7:55 PM, Phill Moran wrote: > Has anyone installed the mapping tool in the external eclipse > tools? I am > getting an error and little info or ways to debug. I am trying to > set it up so > that it would validate the current file. I would be happy with all > files in > workspace or package. Really just to get it to run so I can get to > the problem I > am really after which is a OpenJPA not managed exception > > Location is set to java > > Parameters is set to this (hard coded file for now to get it running) > org.apache.openjpa.jdbc.meta.MappingTool -jar openjpa-all-0.9.6- > incubating.jar > validate -a > C:\development\emall\target\classes\ca\test\categories\Category.class > > I have also defined a classpath set to the incubating jar > > And I get this for my trouble: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/lang/exception/NestableRuntimeException > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java: > 124) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > at java.net.URLClassLoader.access$000(URLClassLoader.java:56) > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > at org.apache.openjpa.jdbc.meta.MappingTool.main(MappingTool.java: > 903) > > Any thoughts? >