Vincent Massol a écrit :
> On Sep 3, 2009, at 3:36 PM, Vincent Massol wrote:
>
>   
>> Hi Julien,
>>
>> On Sep 3, 2009, at 10:52 AM, Julien Hervouet wrote:
>>
>>     
>>> Hi,
>>>
>>> As an adept of freemind I was very happy to see that a freemind macro
>>> exist for xwiki.
>>>
>>> Unfotunately I have a ClassNotFoundException when tha applet is  
>>> invoked
>>> by the macro, it seems that the FreeMind java library can not be  
>>> found
>>> by the downloaded applet.
>>>
>>> Here is the Stack Trace of the exception :
>>>
>>> /Java Plug-in 1.6.0_15
>>> Utilisation de la version JRE 1.6.0_15-b03 Java HotSpot(TM) Client VM
>>>
>>> charger : classe freemind.main.FreeMindApplet.class introuvable.
>>> java.lang.ClassNotFoundException: freemind.main.FreeMindApplet.class
>>>   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
>>>   at java.lang.ClassLoader.loadClass(Unknown Source)
>>>   at java.lang.ClassLoader.loadClass(Unknown Source)
>>>   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
>>>   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
>>>   at
>>> sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
>>> Source)
>>>   at java.lang.Thread.run(Unknown Source)
>>> Caused by: java.io.IOException: open HTTP connection
>>> failed:http://code.xwiki.org/xwiki/bin/view/Macros/freemind/main/FreeMindApplet/class.class
>>>   at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
>>>   at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
>>>   at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
>>>   at java.security.AccessController.doPrivileged(Native Method)
>>>   ... 7 more
>>> Exception : java.lang.ClassNotFoundException:
>>> freemind.main.FreeMindApplet.class/
>>>
>>> The exception occurs on my instance of xwiki and on the xwiki web  
>>> site
>>> at this example address :
>>> http://code.xwiki.org/xwiki/bin/view/Macros/MindMapMacro
>>>
>>> My instance of xwiki is XWiki Enterprise 1.9.3.22597 on Windows XP  
>>> SP3
>>> and as you see in the stack trace I have the last 1.6.0_15 java  
>>> plugin.
>>>
>>> Can you give me an advice to resolve this problem.
>>>       
>> Do you have the freemind jar in WEB-INF/lib?
>>     
>
> My guess is that the freemind jar was removed at some point from  
> xwiki's core.
>
> Someone should add some instructions and we should probably make this  
> macro optional and not part of the core platform.
>
> Thanks
> -Vincent
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
>   
I have already tried to put the freemind.jar in WEB-INF/lib but I have 
exactly the same problem.

Here is the stack trace :

Java Plug-in 1.6.0_15
Utilisation de la version JRE 1.6.0_15-b03 Java HotSpot(TM) Client VM
charger : classe freemind.main.FreeMindApplet.class introuvable.

java.lang.ClassNotFoundException: freemind.main.FreeMindApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at 
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown 
Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection 
failed:http://eimolocc:8080/xwiki/bin/view/MindMap/freemind/main/FreeMindApplet/class.class
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 7 more
Exception : java.lang.ClassNotFoundException: 
freemind.main.FreeMindApplet.class


Is there an other place where I can put this library in order to make it 
functionnal?
Or where can I specify the location of the library to put it in the 
classpath?

Thanks in advance


Julien
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to