directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: Failed to load Main-Class manifest attribute from ldap-proxy-0.2-SNAPSHOT.jar
Date Tue, 02 Mar 2010 08:26:35 GMT
Use a supported JVM, like Sun one. There is no guarantee the project can 
work with GCJ.

On 3/2/10 8:59 AM, Keheliya Gallaba wrote:
> Sorry for troubling you again. But I found I have mistaken when
> entering the command for running the jar. I later entered the command
> " java ldap-proxy-0.2-SNAPSHOT1.org.apache.ldap.proxy.gui.MainFrame"
>
> and got the result
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> ldap-proxy-0.2-SNAPSHOT1.org.apache.ldap.proxy.gui.MainFrame
>     at gnu.java.lang.MainThread.run(libgcj.so.90)
> Caused by: java.lang.ClassNotFoundException:
> ldap-proxy-0.2-SNAPSHOT1.org.apache.ldap.proxy.gui.MainFrame not found
> in gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>     at java.net.URLClassLoader.findClass(libgcj.so.90)
>     at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
>     at java.lang.ClassLoader.loadClass(libgcj.so.90)
>     at java.lang.ClassLoader.loadClass(libgcj.so.90)
>     at gnu.java.lang.MainThread.run(libgcj.so.90)
>
> Please clarify me on the correct path I should have taken
>
> Thank you
>
>
>
> On 2 March 2010 11:08, Keheliya Gallaba<keheliya.gallaba@gmail.com>  wrote:
>    
>>   Dear Apache Directory Developers,
>>
>> For trying out the LDAP Proxy GUI prototype I checked it out from
>> "http://svn.apache.org/repos/asf/directory/sandbox/old/proxy/"
>> Then, since it is a maven project I used "mvn one:convert" to make the
>> pom.xml to build it in maven2. After manually downloading some
>> resources that was not automatically downloaded it was compiled and
>> built successfully. But now when I issue the command  "java -jar
>> ldap-proxy-0.2-SNAPSHOT.jar" it gives the error "Failed to load
>> Main-Class manifest attribute from ldap-proxy-0.2-SNAPSHOT.jar"
>> I found many instances of MainFrame.class built inside the target
>> folder like MainFrame$1.class MainFrame$2.class MainFrame$2$1.class
>> MainFrame$3.class
>>
>> I will be very grateful if one of you can point me out to where I went wrong
>> Thank You
>> --
>> Keheliya Gallaba
>> http://galpotha.wordpress.com
>> http://twitter.com/keheliya
>>
>>      
>
>
>    


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.nextury.com



Mime
View raw message