geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: Build failure in branches\1.2 in modules\geronimo-persistence-jpa10
Date Fri, 01 Dec 2006 06:38:39 GMT
Joe,

I have not build with a clean repo.  If not with an empty repo, I will
cleanup some of the jars and build again.

--vamsi

On 11/30/06, Joe Bohn <joe.bohn@earthlink.net> wrote:
>
> Vamsi,
>
> It sure sounds like you might be picking up a 1.4 version of the class.
>   I just did a fresh checkout of 1.2 and a complete build (starting with
> an empty m2repo) and I didn't have any build problems.  I'm building on
> windows with Sun JDK 1.5.0_06.
>
> Joe
>
>
> Vamsavardhana Reddy wrote:
> > I am using Sun JDK 1.5.0_10.
> >
> > Vamsi
> >
> > On 11/30/06, *Rakesh Midha* <midha.rakesh@gmail.com
> > <mailto:midha.rakesh@gmail.com>> wrote:
> >
> >     Hi Vamsi
> >
> >     What version of JDK are you using? I have seen this problem when I
> >     build with JDK 1.4, (not clean build). and earlier I  had build the
> >     tree with JDK 1.5. Forward uncompatibilty in JDK 1.4 and 1.5
> >
> >     Thanks
> >     Rakesh
> >
> >
> >     On 11/30/06, *Vamsavardhana Reddy* < c1vamsi1c@gmail.com
> >     <mailto:c1vamsi1c@gmail.com>> wrote:
> >
> >         Console output given below.
> >
> >         [INFO] Surefire report directory:
> >         C:\G1.2\modules\geronimo-persistence-jpa10\tar
> >         get\surefire-reports
> >         org.apache.maven.surefire.booter.SurefireExecutionException:
> >         org/apache/geronimo
> >         /persistence/CMPEntityManagerTest (Unsupported major.minor
> >         version 49.0); nested
> >          exception is java.lang.UnsupportedClassVersionError:
> >         org/apache/geronimo/persis
> >         tence/CMPEntityManagerTest (Unsupported major.minor version 49.0
> )
> >         java.lang.UnsupportedClassVersionError:
> >         org/apache/geronimo/persistence/CMPEntit
> >         yManagerTest (Unsupported major.minor version 49.0)
> >                 at java.lang.ClassLoader.defineClass0(Native Method)
> >                 at java.lang.ClassLoader.defineClass(Unknown Source)
> >                 at java.security.SecureClassLoader.defineClass(Unknown
> >         Source)
> >                 at java.net.URLClassLoader.defineClass(Unknown Source)
> >                 at java.net.URLClassLoader.access$100(Unknown Source)
> >                 at java.net.URLClassLoader$1.run(Unknown Source)
> >                 at java.security.AccessController.doPrivileged(Native
> >         Method)
> >                 at java.net.URLClassLoader.findClass(Unknown Source)
> >                 at java.lang.ClassLoader.loadClass(Unknown Source)
> >                 at java.lang.ClassLoader.loadClass(Unknown Source)
> >                 at
> >         org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass
> (Isolat
> >         edClassLoader.java:100)
> >                 at
> >
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest
> >         Sets(AbstractDirectoryTestSuite.java:84)
> >                 at
> >         org.apache.maven.surefire.Surefire.createSuiteFromDefinition
> (Surefire
> >         .java:147)
> >                 at org.apache.maven.surefire.Surefire.run(Surefire.java
> :108)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >         Method)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> >         Source)
> >                 at
> >         sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >                 at java.lang.reflect.Method.invoke(Unknown Source)
> >                 at
> >
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> >         refireBooter.java:225)
> >                 at
> >         org.apache.maven.surefire.booter.SurefireBooter.main(
> SurefireBooter.j
> >         ava:747)
> >
> >
> >
>

Mime
View raw message