Re: Strange error in compilation of 0.7.7-dev

Marco Lettere <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
I found the problem by myself. Googling for some terms I've found that 
the problem resides in the relation between jdk 1.4 and ant.
The solution was to include a "-Dmaven.castor.fork=true" switch on the 
maven command line.
Hope this could help out anyone having similar problems.
M.

Marco Lettere wrote:

> Hello to everyone,
> I'm trying to build the openjms-0.7.7-dev version. I made it to build 
> everything until the maven "tools" goal.
> Here I get the following problem:
> ---------------------------------------------------------------------------------------------------------------------------------- 
>
> BUILD FAILED
> File...... 
> /home/synapsis/m.lettere/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly 
>
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- 
> /home/synapsis/m.lettere/.maven/cache/maven-castor-plugin-1.2/plugin.jelly:92:38: 
> <ant:java> java.lang.NoClassDefFoundError: 
> sun/reflect/ConstructorAccessorImpl
> Total time: 16 seconds
> Finished at: Tue Apr 12 09:39:27 CEST 2005
> ------------------------------------------------------------------------------------------------------------------------------------ 
>
>
> I read that this could be related to ant and jdk versions but I really 
> can't figure out where the problem resides. Can any of you tell me any 
> solution?
> Thank you,
> M.
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.