啦yes 发表于 2018-1-29 11:27:24

生成代码报错

HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtiltype Exception reportmessage Handler processing failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtildescription The server encountered an internal error that prevented it from fulfilling this request.exceptionorg.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:624)        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)        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 causejava.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:62)        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        java.lang.reflect.Method.invoke(Method.java:483)        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:624)        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)        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.64 logs.

admin 发表于 2018-1-29 11:45:32

确认下最新版的依赖是否下载成功,删掉本地仓库重新下载试试

啦yes 发表于 2018-1-29 13:12:21

admin 发表于 2018-1-29 11:45 static/image/common/back.gif
确认下最新版的依赖是否下载成功,删掉本地仓库重新下载试试

好的我试试
页: [1]
查看完整版本: 生成代码报错