openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Alexis" <philippe.ale...@gmail.com>
Subject java.lang.ClassNotFoundException
Date Tue, 01 May 2007 05:52:04 GMT
Hello Everyone,

Here's what I'm getting when I follow the 5min quick start guide strictly,
under both Eclipse 3.1.1 and 3.2,
and under Ant on Cygwin:

=================================================================================
Buildfile: D:\Programming\Java\openjpa-
project-0.9.7-incubating\examples\hellojpa\build.xml
compile:
run:
     [java] java.lang.ClassNotFoundException: D:\Programming\Java\openjpa-
project-0.9.7-incubating\openjpa-0.9.7-incubating.jar
     [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java] at java.security.AccessController.doPrivileged(Native Method)
     [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
     [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:236)
     [java] FATAL ERROR in native method: processing of -javaagent failed
     [java] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(
InstrumentationImpl.java:165)
     [java] Exception in thread "main"

BUILD FAILED
D:\Programming\Java\openjpa-project-0.9.7-incubating\examples\build.xml:67:Java
returned: 1

Total time: 1 second
=================================================================================


I'm not sure what I'm doing wrong. I'm stuck in the starting block here. How
do you guys do it?

J-Philippe.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message