#3316: ConnectorHandler doesn`t work in Grails
----------------------------------------+-----------------------------------
 Reporter:  Darran                      |       Owner:                 
     Type:  Bug                         |      Status:  new            
 Priority:  Normal                      |   Milestone:                 
Component:  Server : Java               |     Version:  FCKeditor 2.6.4
 Keywords:  Connector ConnectorHandler  |  
----------------------------------------+-----------------------------------
 The ConnectorHandler can`t dynamically load a Connector class when the
 Connector class is part of the Grails app.

 The line

 Class<?> clazz = Class.forName(className);

 causes a ClassNotfoundException.

 If this is changed to
 Class<?> clazz =
 Thread.currentThread().getContextClassLoader().loadClass(className);

 it will work,
 see
 http://www.nabble.com/ClassNotFoundException-with-Class.forName-
 td18194398.html

 for details.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3316>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to