Maven problem with Build 48 (Linux 64 bit)
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Jul 17 04:31:31 PDT 2012
It looks like a duplicate of this:
http://www.java.net/forum/topic/jdk/java-se-snapshots-project-feedback/lambda-8-b45-verifyerror-regarding-javalangiterable
Keith is working on this.
Maurizio
On 17/07/12 12:03, Deepak S Patwardhan wrote:
> Thanks Allan,
>
> The project builds correctly with the extra flag in Maven options.
>
> Regards,
> Deepak S Patwardhan.
>
> -----Original Message-----
> From: Graham Allan [mailto:grundlefleck at gmail.com]
> Sent: 17 July 2012 16:12
> To: Deepak S Patwardhan
> Cc: lambda-dev at openjdk.java.net
> Subject: Re: Maven problem with Build 48 (Linux 64 bit)
>
> Hi Deepak,
>
> I have experienced a similar problem and got over it by setting particular
> parameters to Maven to prevent class verification:
>
> MAVEN_OPTS="-noverify $MAVEN_OPTS"
>
> My understanding is that this is a known bug, and the above is only a
> temporary workaround.
>
> Kind regards,
> Graham
>
> On 17 July 2012 11:15, Deepak S Patwardhan <deepak.patwardhan at itaas.com>
> wrote:
>> Hello,
>>
>> I have a (pet lambda) Maven project which builds fine with Lambda build
> 39.
>> However, with Build 48, I get the following error :
>>
>> [deepak at verne lambda]$ mvn clean
>> ---------------------------------------------------
>> constituent[0]:
>> file:/opt/apache-maven-3.0.4/lib/aether-impl-1.13.1.jar
>> constituent[1]:
>> file:/opt/apache-maven-3.0.4/lib/plexus-interpolation-1.14.jar
>> constituent[2]: file:/opt/apache-maven-3.0.4/lib/maven-model-3.0.4.jar
>> constituent[3]:
>> file:/opt/apache-maven-3.0.4/lib/wagon-http-2.2-shaded.jar
>> constituent[4]:
>> file:/opt/apache-maven-3.0.4/lib/sisu-inject-plexus-2.3.0.jar
>> constituent[5]: file:/opt/apache-maven-3.0.4/lib/maven-core-3.0.4.jar
>> constituent[6]:
>> file:/opt/apache-maven-3.0.4/lib/maven-aether-provider-3.0.4.jar
>> constituent[7]:
>> file:/opt/apache-maven-3.0.4/lib/sisu-guice-3.1.0-no_aop.jar
>> constituent[8]: file:/opt/apache-maven-3.0.4/lib/aether-spi-1.13.1.jar
>> constituent[9]:
>> file:/opt/apache-maven-3.0.4/lib/maven-model-builder-3.0.4.jar
>> constituent[10]:
>> file:/opt/apache-maven-3.0.4/lib/plexus-sec-dispatcher-1.3.jar
>> constituent[11]:
>> file:/opt/apache-maven-3.0.4/lib/aether-api-1.13.1.jar
>> constituent[12]:
>> file:/opt/apache-maven-3.0.4/lib/maven-settings-3.0.4.jar
>> constituent[13]:
>> file:/opt/apache-maven-3.0.4/lib/maven-repository-metadata-3.0.4.jar
>> constituent[14]:
>> file:/opt/apache-maven-3.0.4/lib/maven-settings-builder-3.0.4.jar
>> constituent[15]:
>> file:/opt/apache-maven-3.0.4/lib/sisu-inject-bean-2.3.0.jar
>> constituent[16]:
>> file:/opt/apache-maven-3.0.4/lib/plexus-utils-2.0.6.jar
>> constituent[17]:
>> file:/opt/apache-maven-3.0.4/lib/maven-compat-3.0.4.jar
>> constituent[18]:
>> file:/opt/apache-maven-3.0.4/lib/aether-connector-wagon-1.13.1.jar
>> constituent[19]:
>> file:/opt/apache-maven-3.0.4/lib/plexus-cipher-1.7.jar
>> constituent[20]: file:/opt/apache-maven-3.0.4/lib/sisu-guava-0.9.9.jar
>> constituent[21]:
>> file:/opt/apache-maven-3.0.4/lib/wagon-provider-api-2.2.jar
>> constituent[22]: file:/opt/apache-maven-3.0.4/lib/commons-cli-1.2.jar
>> constituent[23]:
>> file:/opt/apache-maven-3.0.4/lib/maven-embedder-3.0.4.jar
>> constituent[24]:
>> file:/opt/apache-maven-3.0.4/lib/plexus-component-annotations-1.5.5.ja
>> r
>> constituent[25]:
>> file:/opt/apache-maven-3.0.4/lib/maven-artifact-3.0.4.jar
>> constituent[26]:
>> file:/opt/apache-maven-3.0.4/lib/maven-plugin-api-3.0.4.jar
>> constituent[27]:
>> file:/opt/apache-maven-3.0.4/lib/aether-util-1.13.1.jar
>> constituent[28]: file:/opt/apache-maven-3.0.4/lib/wagon-file-2.2.jar
>> ---------------------------------------------------
>> Exception in thread "main" java.lang.VerifyError: (class:
>> org/sonatype/guice/bean/locators/RankedSequence, method: count signature:
>> ()J) Stack size too large
>> at
>> org.sonatype.guice.bean.locators.DefaultBeanLocator.<init>(DefaultBean
>> Locato
>> r.java:52)
>> at
>> org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContain
>> er.jav
>> a:119)
>> at
>> org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContain
>> er.jav
>> a:160)
>> at org.apache.maven.cli.MavenCli.container(MavenCli.java:375)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:191)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> ava:57
>> )
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> orImpl
>> .java:43)
>> at java.lang.reflect.Method.invoke(Method.java:474)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launc
>> her.ja
>> va:290)
>> at
>>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> at
>>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
>> java:409)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3
>> 52)
>>
>> The OS is Fedora 16, 64 bit and I am using the Linux 64bit build of
> Lambda.
>> I believe I had the same problem with Build 45 as well. Is anyone else
>> also facing this problem ? Any suggestions?
>>
>> Regards,
>> Deepak S Patwardhan.
>>
>>
>
More information about the lambda-dev
mailing list