Thanks for the reply. I tried using slf4j-simple and I got the following error message when I tried to load a page with an editor on it:
javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class net.fckeditor.handlers.PropertiesLoader
using slf4j-nop I get an iFrame with my 404 page in it. Is it possible FCKeditor isn't compatible with RichFaces? That's what I'm using on my site. Or perhaps I have something configured incorrectly?
The error is really weird. Try this: clean all caches, recompile your project and redeploy. The This is mostly caused my some traces left in some cache. Although if you succeed in deploying the demo war, everything is fine with your system.
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: FacesContext is null
root cause
java.lang.NullPointerException: FacesContext is null
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_02 logs.
1. Where in ELC-war is the editor installed/deployed? In ELC-war/fckeditor? 2. Well, the FacesServlet tries obviously to access this resource "/ELC-war/faces/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default" and fails. That's causing the exception.
Let me give an example:
/ depicts the context root /ELC-war. If you have installed the fckeditor folder into /fckeditor, it should work instantly, if *not* you have to set the basePath:
Re: Java FCKeditor for dummies?
12documentation
Re: Java FCKeditor for dummies?
using slf4j-nop I get an iFrame with my 404 page in it. Is it possible FCKeditor isn't compatible with RichFaces? That's what I'm using on my site. Or perhaps I have something configured incorrectly?
Re: Java FCKeditor for dummies?
Re: Java FCKeditor for dummies?
Re: Java FCKeditor for dummies?
2. Well, the FacesServlet tries obviously to access this resource "/ELC-war/faces/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default" and fails. That's causing the exception.
Let me give an example:
/ depicts the context root /ELC-war. If you have installed the fckeditor folder into /fckeditor, it should work instantly, if *not* you have to set the basePath:
or in the fckeditor.properties.