Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 83357 invoked from network); 1 Dec 2006 06:39:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2006 06:39:05 -0000 Received: (qmail 55041 invoked by uid 500); 1 Dec 2006 06:39:13 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 54991 invoked by uid 500); 1 Dec 2006 06:39:13 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 54980 invoked by uid 99); 1 Dec 2006 06:39:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 22:39:12 -0800 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=FROM_HAS_MIXED_NUMS,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of c1vamsi1c@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 22:39:01 -0800 Received: by nf-out-0910.google.com with SMTP id x37so3283304nfc for ; Thu, 30 Nov 2006 22:38:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eqiW2IKKqhnK26HroSpnLMZXB0aPmpaUCeI8EnC/hifQ+R/EeovSWboiImctg9i5r1FurwRMIr5x8k5x6BMroZebpqZWuwGACdnc+/DjcdG9wZ0YwDSkgYWjmjMlzM5LJr9Yn/dGwOUpEyRmmck720B8akqOuuftxtlm7OvxtfQ= Received: by 10.48.48.13 with SMTP id v13mr8884201nfv.1164955119500; Thu, 30 Nov 2006 22:38:39 -0800 (PST) Received: by 10.49.6.4 with HTTP; Thu, 30 Nov 2006 22:38:39 -0800 (PST) Message-ID: <22d56c4d0611302238y3d965c41y151ebda13749839d@mail.gmail.com> Date: Fri, 1 Dec 2006 12:08:39 +0530 From: "Vamsavardhana Reddy" To: dev@geronimo.apache.org Subject: Re: Build failure in branches\1.2 in modules\geronimo-persistence-jpa10 In-Reply-To: <456EDE1E.8060108@earthlink.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_465_7640264.1164955119452" References: <22d56c4d0611292247q4c15e060m9d231e66d4c0c61a@mail.gmail.com> <1f52a95c0611300219m8c5035ejf66ccf79b2d95c31@mail.gmail.com> <22d56c4d0611300323n7540134fq6815f59733c4f614@mail.gmail.com> <456EDE1E.8060108@earthlink.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_465_7640264.1164955119452 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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* > > 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 > > > 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) > > > > > > > ------=_Part_465_7640264.1164955119452 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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)
>
>
>

------=_Part_465_7640264.1164955119452--