openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Thakur <rahul.thakur.xd...@gmail.com>
Subject Re: Compilation errors on trunk
Date Thu, 07 Feb 2008 01:25:32 GMT

Hello Craig,

After you note I nuked my local M2 repository and ran the build again 
but with same results.

Strange that this happens when I use Maven 2.0.8 to build; i get a 
different error using 2.0.7.

What version of Maven are you using?

Rahul

Craig L Russell wrote:
> Have you tried a clean build? Sounds like you might have some java 6 
> artifacts built from earlier attempts...
>
> Craig
>
> On Feb 6, 2008, at 4:55 PM, Rahul Thakur wrote:
>
>>
>> I switched to JDK 1.5 and now I get a *huge* stacktrace of this:
>>
>> <snip>
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> java.util.zip.ZipException: error in opening zip file
>> at java.util.zip.ZipFile.open(Native Method)
>> at java.util.zip.ZipFile.<init>(ZipFile.java:203)
>> at java.util.zip.ZipFile.<init>(ZipFile.java:234)
>> at 
>> org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919) 
>>
>> at 
>> org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:126)

>>
>> at 
>> org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextElement(AntClassLoader.java:109)

>>
>> at 
>> org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration.nextElement(CollectionUtils.java:146)

>>
>> at sun.misc.CompoundEnumeration.nextElement(CompoundEnumeration.java:43)
>> at 
>> org.apache.openjpa.lib.util.MultiClassLoader.findResources(MultiClassLoader.java:257)

>>
>> at java.lang.ClassLoader.getResources(ClassLoader.java:1015)
>> at 
>> org.apache.openjpa.lib.util.J2DoPrivHelper$14.run(J2DoPrivHelper.java:395) 
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at 
>> org.apache.openjpa.lib.meta.ResourceMetaDataIterator.<init>(ResourceMetaDataIterator.java:69)

>>
>> at 
>> org.apache.openjpa.meta.AbstractCFMetaDataFactory.parsePersistentTypeNames(AbstractCFMetaDataFactory.java:749

>>
>> )
>> at 
>> org.apache.openjpa.meta.AbstractCFMetaDataFactory.getPersistentTypeNames(AbstractCFMetaDataFactory.java:606)

>>
>> at 
>> org.apache.openjpa.meta.MetaDataRepository.getPersistentTypeNames(MetaDataRepository.java:1253)

>>
>> at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4413)
>> at 
>> org.apache.openjpa.ant.PCEnhancerTask.executeOn(PCEnhancerTask.java:89)
>> at 
>> org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java:172)
>> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>> at org.apache.tools.ant.Task.perform(Task.java:364)
>> at org.apache.tools.ant.Target.execute(Target.java:341)
>> at 
>> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108)

>>
>> at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
>> at 
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)

>>
>> at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)

>>
>> at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48

>>
>> 0)
>> at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)

>>
>> at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav

>>
>> a:311)
>> at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)

>>
>> at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)

>>
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>>
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> java.util.zip.ZipException: error in opening zip file
>> </snip>
>>
>>
>> Pinaki Poddar wrote:
>>> Likely cause:
>>> JDK 1.6 is active
>>>
>>> Likely resolution:
>>> Switch to JDK 1.5
>>>
>>> -----Original Message-----
>>> From: Rahul Thakur [mailto:rahul.thakur.xdev3@gmail.com]
>>> Sent: Wednesday, February 06, 2008 6:15 PM
>>> To: dev@openjpa.apache.org
>>> Subject: Compilation errors on trunk
>>>
>>> Greetings,
>>>
>>> I come back to trunk now and then again, hoping it would compile and I
>>> can take the newest of updates for a spin. But it never does :'(
>>>
>>> So, could any one please tell us (me and other lurkers like me'self):
>>> 1)  How are you guys building the trunk? Are you using Maven? May be a
>>> quick README in SVN would help.
>>> 2)  The 1.1.0-snapshot publishing the Apache Snapshots repo doesn't
>>> seems to be working.
>>>
>>> I am attaching the log that I see when I run 'mvn clean install' from
>>> the root project.
>>>
>>> Appreciate any help.
>>>
>>> Rahul
>>>
>>> Notice:  This email message, together with any attachments, may 
>>> contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  
>>> affiliated entities,  that may be confidential,  proprietary,  
>>> copyrighted  and/or legally privileged, and is intended solely for 
>>> the use of the individual or entity named in this message. If you 
>>> are not the intended recipient, and have received this message in 
>>> error, please immediately return this by email and then delete it.
>>>
>>>
>>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>


Mime
View raw message