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

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

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

查看: 14542|回复: 9

新的告急!“v2.3(20130323) ”版本JeecgOneGUI类运行出错啊~在线....

[复制链接]
发表于 2013-4-22 22:48:01 | 显示全部楼层 |阅读模式
MySql数据库..
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
        at com.code.DbEntity.DbFiledToJspUtil.checkTableExist(Unknown Source)
        at a.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
        at java.awt.Component.processMouseEvent(Component.java:6505)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
        at java.awt.Component.processEvent(Component.java:6270)
        at java.awt.Container.processEvent(Container.java:2229)
        at java.awt.Component.dispatchEventImpl(Component.java:4861)
        at java.awt.Container.dispatchEventImpl(Container.java:2287)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
        at java.awt.Container.dispatchEventImpl(Container.java:2273)
        at java.awt.Window.dispatchEventImpl(Window.java:2719)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:703)
        at java.awt.EventQueue.access$000(EventQueue.java:102)
        at java.awt.EventQueue$3.run(EventQueue.java:662)
        at java.awt.EventQueue$3.run(EventQueue.java:660)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:676)
        at java.awt.EventQueue$4.run(EventQueue.java:674)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:673)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key diver_name
        at java.util.ResourceBundle.getObject(ResourceBundle.java:393)
        at java.util.ResourceBundle.getString(ResourceBundle.java:353)
        at com.util.CodeResourceUtil.getDIVER_NAME(Unknown Source)
        at com.util.CodeResourceUtil.<clinit>(Unknown Source)
        ... 38 more


发表于 2013-4-22 23:13:06 | 显示全部楼层
什么情况出的问题
 楼主| 发表于 2013-4-23 06:55:07 | 显示全部楼层
jeecg_scott 发表于 2013-4-22 23:13
什么情况出的问题

导入项目,运行没有问题。想生成个一张表,看看效果。一点界面生成的时候就报错。
 楼主| 发表于 2013-4-23 07:11:31 | 显示全部楼层
本帖最后由 jonnie 于 2013-4-23 07:16 编辑

2.3布置发面成功后,首次运行“JeecgOneGUI”--生成,报上述错误。
用的
MyEclipse10+mysql5,放在D盘根目录下。
2.1.1与2.1.2这个类都可以运行。2.3,则运行不了...........
,
如果可以能与把common.jg或common.cg啥的源码发我,我自己调试呢?[89115008@qq.com]
再追加个疑问,2.3的生成类包,好像是common.cg,与common.jg没有关系了?刚刚入来,一头雾水。。。
 楼主| 发表于 2013-4-23 07:29:40 | 显示全部楼层
三个版本我都没有一个能完全正确运行的!啥人品
2.2,布置--运行--登录,报505
Stacktrace:] with root cause
javax.el.ELException: Cannot convert xtgl of type class java.lang.String to class java.lang.Long
        at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:304)
        at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:283)
        at org.apache.el.lang.ELSupport.equals(ELSupport.java:143)
        at org.apache.el.parser.AstEqual.getValue(AstEqual.java:40)
        at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
        at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1026)
        at org.apache.jsp.layout.west_jsp._jspx_meth_c_005fif_005f0(west_jsp.java:216)
        at org.apache.jsp.layout.west_jsp._jspx_meth_c_005fforEach_005f0(west_jsp.java:183)
        at org.apache.jsp.layout.west_jsp._jspService(west_jsp.java:145)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:95)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
 楼主| 发表于 2013-4-23 07:30:43 | 显示全部楼层
我倒是想写心得拿文档,倒是给先让我运行啥。。。。。。。
发表于 2013-4-23 10:18:05 | 显示全部楼层
数据库配置文件要修改一下,改没?
发表于 2013-4-23 10:20:16 | 显示全部楼层
数据库要初始化
发表于 2013-4-24 09:10:40 | 显示全部楼层
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key diver_name提示是数据库驱动没找到,你看下驱动名噻,默认的是mysql5.0的驱动。
 楼主| 发表于 2013-4-24 09:36:11 | 显示全部楼层
谢谢楼上的两位兄弟!
“导入项目,运行没有问题”之前描述过这个,
项目是可以运行的!配置文件,数据库都是OK的,只是生成器不能运行!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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