关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 7314|回复: 3

[UI标签] 这是在线生成代码功能 点击代码生成就这样了 数据连接...

[复制链接]
发表于 2018-3-6 14:40:52 | 显示全部楼层 |阅读模式
HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtil
type Exception report
message Handler processing failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtil
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: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtil        org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1280)        org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:958)        org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)        org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)        org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)        javax.servlet.http.HttpServlet.service(HttpServlet.java:620)        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)        javax.servlet.http.HttpServlet.service(HttpServlet.java:727)        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)        org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:119)        com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)        org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
root cause
java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtil        org.jeecgframework.web.cgform.controller.generate.GenerateController.gogenerate(GenerateController.java:117)        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        java.lang.reflect.Method.invoke(Method.java:606)        org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)        org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)        org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)        org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747)        org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676)        org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)        org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)        org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)        org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)        org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)        javax.servlet.http.HttpServlet.service(HttpServlet.java:620)        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)        javax.servlet.http.HttpServlet.service(HttpServlet.java:727)        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)        org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:119)        com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)        org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.54 logs.

发表于 2018-3-7 15:08:12 | 显示全部楼层
环境没搭建好
 楼主| 发表于 2018-3-7 22:31:18 | 显示全部楼层
admin 发表于 2018-3-7 15:08
环境没搭建好

我连接本地数据库没问题  连接线上数据库就不行了  线上是linux操作系统 tomcat8 jdk7 mysql  
发表于 2018-3-8 09:28:54 | 显示全部楼层
换tomcat7试试
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表