开发者

CKFinder Java Example Application doesn't Work

开发者 https://www.devze.com 2023-03-30 01:33 出处:网络
We have been searching a WYSIWYG editor for our Spring Project and we decided on CKEditor but we also needed an plugin for to insert iamge from localhost so I tried to implement CKFinder for Java. But

We have been searching a WYSIWYG editor for our Spring Project and we decided on CKEditor but we also needed an plugin for to insert iamge from localhost so I tried to implement CKFinder for Java. But I couldn't event make work CKFinder's example app work.

The screen: http://imgur.com/Zortm

The debug output:

java.lang.NullPointerException
    at com.ckfinder.connector.ConnectorServlet.getResponse(ConnectorServlet.java:114)
    at com.ckfinder.connector.ConnectorServlet.doGet(ConnectorServlet.java:76)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:279)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPo开发者_如何学编程olExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)


The War file had a bug. Somebody from forum uploaded a working war file and everything is peach now.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号