Re: JMS CTS Build problems

Christian Sell <[email protected]>
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
find below my mail from a few days ago:
...

BTW, building via ant got me this mysterious error:

BUILD FAILED
file:/home/cse/dell/work/openjms/cvs-src/openjms/src/build.xml:190: 
java.lang.NoClassDefFoundError: sun/reflect/MethodAccessorImpl

I was able to get around it after reading the following in the ant docs 
for the java task:

"If odd things go wrong when you run this task, set fork='true' to use a 
new JVM."

Odd indeed. I am using JDK 1.4.1_01 under Linux.

regards,
Christian

Arunvijai wrote:
> Hello All,
>  
> While trying to compile JMS CTS , i got the following error,
>  
> ============================================
>  
> # ./build.sh
> src/etc:lib/xml-apis-1.0.b2.jar:lib/xerces-2.3.0.jar:lib/ant_optional_1.5.1.jar:lib/ant_1.5.1.jar:/opt/java1.4/lib/tools.jar
> Buildfile: src/build.xml
>  
> clean:
>    [delete] Deleting directory /home/ars/jmscts/build
>    [delete] Deleting directory /home/ars/jmscts/dist
>  
> prepare:
>     [mkdir] Created dir: /home/ars/jmscts/build/classes
>     [mkdir] Created dir: /home/ars/jmscts/build/generated-src
>     [mkdir] Created dir: /home/ars/jmscts/dist
>  
> schemas:
>  
> prepare:
>  
> castor.uptodate:
>  
> castor:
>      [java] -- Suppressing non fatal warnings.
>  
> BUILD FAILED
> file:/home/ars/jmscts/src/build.xml:172: java.lang.NoClassDefFoundError: 
> sun/reflect/MethodAccessorImpl
>  
> Total time: 4 seconds
> ===================================================
>  
> Any helps would be really appreciated.
>  
> Regards
> - Arun
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003
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.