RE: undefined refrence error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dear All,
The compilation of the jar file is done successfully , after running the application i found the following errors:

java.lang.NoClassDefFoundError: org.springframework.core.CollectionFactory
java.lang.NoClassDefFoundError: edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock$NonfairSync

i set the CLASSPATH variable before running, the class path points to the path of all the jar files like spring.jar, and i opened the jar file and i found that it contains the org.springframework.core.CollectionFactory class (which make the error).
but i don't know what is the error i compiled it with the correct --classpath option and i set the CLASSPATH variable correctly , could anyone advice about this error ?
Thanks Hegazy












----------------------------------------
> Date: Wed, 8 Jul 2009 20:02:47 +0100
> From: aph@xxxxxxxxxx
> To: engmohheg@xxxxxxxxxxx
> CC: gcc-help@xxxxxxxxxxx
> Subject: Re: undefined refrence error
>
> mohammed hegazy wrote:
>> Dear Andrew,
>>
>> Thank you very much for this information i want to ask , do you main i use the -L option with the path for the .jar.so file without -llibname .
>
> Yep, just the same.
>
> Andrew.

_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux