java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter报错解决

在配置 UEditor 的时候出来很多问题,主要问题是 config.json 无法读取。在多次常识和变更 文件位置的尝试中,突然又给我报了 这样一个错误。

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)

 

java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter报错解决

这是由于

java.lang.NoClassDefFoundError: com/baidu/ueditor/ActionEnter报错解决

在百度编辑器文件jsp下有一个lib包,里面的jar包虽然已经构建到项目了,但是要把这个lib包放到WEB-INF下,虽然不知道为什么,可能解决这个错误,关于图片上传功能也可以使用了(配置完config.json后显示后端配置项没有正常加载,上传插件不能正常使用!)

 

原文地址:https://www.2cto.com/kf/201705/635678.html

  • 微信
  • 赶快加我聊天吧
  • weinxin
  • 博客交流群
  • 海纳百川,大家来水
  • weinxin
言曌

发表评论

:?::razz::sad::evil::!::smile::oops::grin::eek::shock::???::cool::lol::mad::twisted::roll::wink::idea::arrow::neutral::cry::mrgreen: