在配置 UEditor 的时候出来很多问题,主要问题是 config.json 无法读取。在多次常识和变更 文件位置的尝试中,突然又给我报了 这样一个错误。
type Exception report
message Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter
description The server encountered an internal error that prevented it from fulfilling this request.
exception
这是由于
在百度编辑器文件jsp下有一个lib包,里面的jar包虽然已经构建到项目了,但是要把这个lib包放到WEB-INF下,虽然不知道为什么,可能解决这个错误,关于图片上传功能也可以使用了(配置完config.json后显示后端配置项没有正常加载,上传插件不能正常使用!)
原文地址:https://www.2cto.com/kf/201705/635678.html
HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter
type Exception report
message Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter
org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1303)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:977)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
这是由于
在百度编辑器文件jsp下有一个lib包,里面的jar包虽然已经构建到项目了,但是要把这个lib包放到WEB-INF下,虽然不知道为什么,可能解决这个错误,关于图片上传功能也可以使用了(配置完config.json后显示后端配置项没有正常加载,上传插件不能正常使用!)
原文地址:https://www.2cto.com/kf/201705/635678.html
您可以选择一种方式赞助本站
支付宝扫一扫赞助
微信钱包扫描赞助
赏