dev@glassfish.java.net

Re: build error V3.1 trunk

From: Dies Koper <diesk_at_fast.au.fujitsu.com>
Date: Wed, 24 Feb 2010 17:24:25 +1100

I was using JDK 1.6.0_12.
I've just installed JDK 1.6.0_18 and now it worked.
Thanks for pointing me in the right way!

On 24/02/2010 14:31, Jane Young wrote:
> Which version of JDK are you using?
>
> Dies Koper wrote:
>> Hi,
>>
>> I've been trying to build from the V3.1 trunk but keep getting an error.
>> I've tried 'mvn clean install' and 'mvn -U clean install' and I've tried
>> deleting all files in the Maven repository. I'm running Windows 2003
>> Server and updated my V3.1 workspace to r35727 (latest). It didn't work
>> earlier today on r35720 either..
>>
>> What's wrong?
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Internal error in the plugin manager executing goal
>> 'com.sun.enterprise:hk2-maven-plugin:1.0.1:hk2-compile': Unable to
>> load the mojo 'com.sun.enterprise:hk2-maven-plugin:1.0.1:hk2-compile'
>> in the plugin 'com.sun.enterprise:hk2-maven-plugin'. A
>> required class is missing: com/sun/mirror/apt/AnnotationProcessorFactory
>> com.sun.mirror.apt.AnnotationProcessorFactory
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 10 minutes 57 seconds
>> [INFO] Finished at: Wed Feb 24 11:09:19 EST 2010
>> [INFO] Final Memory: 78M/124M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> Thanks,
>> Dies