`
zz563143188
  • 浏览: 2274620 次
  • 性别: Icon_minigender_1
  • 来自: 珠海
博客专栏
77fc734c-2f95-3224-beca-6b8da12debc8
编程工具介绍
浏览量:578630
D9710da2-8a00-3ae6-a084-547a11afab81
Spring Mvc实战(...
浏览量:1087545
D3f88135-07de-3968-a0f0-d2f13428c267
项目开发经验
浏览量:1656831
社区版块
存档分类
最新评论

Spring mvc+hibernate+freemarker(实战)

阅读更多

   今天我为大家做了一个 spring3 MVC 的例子,希望能对刚接触spring的朋友有所帮助。该流程属于大型项目的流程,涉及的知识比较希望大家耐心学习。 

项目开发流程详解:http://zz563143188.iteye.com/blog/1825168

比特币,区块链白皮书,python,java,oracle,mysql,Spring,Hibernate开发资料下载地址:网盘登录后查看下载   https://pan.baidu.com/share/home?uk=4076915866&suk=r9XiePUxwkUzXtmENt00Sw&view=share#category/type=0
 github查看项目地址  :  https://github.com/zl19861124/codeFactory   
以下是相关资料连接:

1.本工程内容较多,可能需要设计编译目录:                  http://zz563143188.iteye.com/blog/1826517
2.调试网页建议页面调试工具firebug                               http://zz563143188.iteye.com/blog/1825978
3.可以使用Spring mvc 单元测试                                      http://zz563143188.iteye.com/blog/1827454
4.Spring mvc整合hibernate                                             http://zz563143188.iteye.com/blog/1831561
5.日志log4j配置springMvc例子                                        http://zz563143188.iteye.com/blog/1825387        
6.由于webroot下面的内容很多,设置不编译和验证         http://zz563143188.iteye.com/blog/1826517

7. 根据jar生成源码工具                                                    http://zz563143188.iteye.com/blog/1826988   
8.java常用环境变量设置                                                   http://zz563143188.iteye.com/blog/1827884

9.比较全的OA系统功能模块列表                                      http://zz563143188.iteye.com/blog/1860248
10.需求文档管理工具                                                        http://zz563143188.iteye.com/blog/1830393
11.PowerDesinger逆向数据库物理模型及关系图               http://zz563143188.iteye.com/blog/1829068
12.发散性思维工具(思维导图)推荐                                    http://zz563143188.iteye.com/blog/1831562
13.推荐一款好用的笔记管理软件(Evernote)                      http://zz563143188.iteye.com/blog/1830965
14.数据库生成数据字典工具(PDMREAD)图解                    http://zz563143188.iteye.com/blog/1828557
15.代码生动生成工具(POJO,DAO,Service,action)等层代码http://zz563143188.iteye.com/blog/1819765

16.spring3,struts2,hibernate,junit,设计模式视频教程下载 http://zz563143188.iteye.com/blog/1839517

17.UML 的九种模型图                                                       http://zz563143188.iteye.com/blog/1841234

                                                                                         http://zz563143188.iteye.com/blog/1841225

18.Oracle笔记 五、创建表、约束、视图、索引、序列、同义词、表空间

                                                                                        http://zz563143188.iteye.com/blog/1841239

19.Java面试宝典2013版                                                  http://zz563143188.iteye.com/blog/1843725

20.Java技术体系图(从程序员到CTO各阶段技                http://zz563143188.iteye.com/blog/1877266  

21.百万级访问网站前期的技术准备                                 http://zz563143188.iteye.com/blog/1842135

22.关于一个大型web系统架构设计和技术选型的讨论      http://zz563143188.iteye.com/blog/1842128

23.高性能网站性能优化与系统架构                                 http://zz563143188.iteye.com/blog/1842129

24.java23种模式详解 (带源码有图)                                 http://zz563143188.iteye.com/blog/1847029

25.软件开发文档范例                                                      http://zz563143188.iteye.com/blog/1835305

26.软件开发模式对比(瀑布、迭代、螺旋、敏捷)             http://zz563143188.iteye.com/blog/1843691

27.我心目中最好的框架组合                                       http://zz563143188.iteye.com/blog/1867767

28. 全国(大学)高等教育各学科视频教学全集                  http://zz563143188.iteye.com/blog/1823042         

 更多高级应用(项目构架、工程、文档、研发管理)          http://zz563143188.iteye.com/

 

 

      本人只是将www.jeecms.com进行改变。目的是为了让大家更加了解jeecms,这样可以让大家学习。

长虽然我工作很忙没有闲暇时间,但我还是愿意抽时间分享优秀的项目给大家学习。

 

 架构分层图解:

     1.后台工程 包命名规则以com.jeecms.cms.(分为以下图层),项目架构entity,dao,mng,action,html等结构如下图所示。

 

    

 

 2.上图结构图在项目分布图如下。

    

 

3.数据库映射文件,下面有对象处在的包层及对象对应的数据库表。

 

 

4.java bean配置在entity包下面,Base包下面都是直接与数据表关联的对象。在这里创建字段属性及对象对应的xml映射的表字段属性的get,set方法。

 

 

5.我采用的spring mvc实现action,dao,manager依赖注入方法,所以需要将实现类在spring的配置文件中加载,统一首字母小写方式命名。

 

 

6.Dao在spring文件中

 

 

7.业务层的具体实现通过spring的注解实现,事务也交给spring(有网友建议readonly开关设置)

 

 

8.action控制层是业务层与视图层的桥梁,这里需要申明业务层接口,当然spring已经按类型注解。

 

 

9.资源文件是支持国际化的重要文件,这个也需要在springmvc中指定。

 

 

10.html的命名统一,上一次目录都是按照表名来定义。

 

  

开发流程详细介绍:

 

 1.web.xml文件是工程运行的起点,需要在这里配置好所有的配置信息。引导页、spring、log4j,struts、hibernate、过滤器,监听、等等都是在这里配置好。

 

 

2.jeecms工程的访问目录及访问路径在web.xml中的配置

 

  

3.资源文件配置,资源文件的key命名规则用(对象.功能.信息) 

 

 

4.数据库连接文件jdbc.propertiy的配置同spring放置在同一个目录下面。

如果是单元就在classpath:config下面,如果是web.xml加载则在web-inf/config下面

 

 

5.spring加载数据库jdbc文件,通过通配符来读出.properity文件的修正。 如果是单元就在classpath:config下面,如果是web.xml加载则在web-inf/config下面

 

   

6.jeecms自定义标签在spring中初始化,这些标签通过java实现。

 

 

 7.springmvc在控制层返回的路径设置,jeecms_sys是action默认返回的目录。如果文件不在这个目录则无法找到相应的文件,并且配置了只能匹配.html文件。

 

 

8.定义springmvc的view目录及登陆地址。

 

 

9.在spring中配置好资源文件,使spring mvc在html文件能够读到资源文件信息。

 

 

10.配置数据库hibernate的xml文件hbm.xml文件

 

  

11.java对象与hbm.xml文件交换对象的bean对象创建。

 

 

12.DAO层配置,这是直接与数据库找交道的层。

 

 

13.业务层(service)对象配置,也就是常说的上通DAO层下达控制层的中间层 

 

 

14.控制层也就是action层,是业务层与view层的桥梁

 

 

15.在spring文件中配置dao、service对象形成单例,以便在服务器启动的时候加载 。

 

   

16.到这里通过单元测试类test类测试业务层与数据的操作,需要添加junit4到工程中。https://github.com/zl19861124/jeecms/blob/master/src/com/jeecms/cms/test/test.java

 

 

17.好了到现在为止,springmvc业务代码就OK了。接下来开发html文件(数据显示用标签实现)。

 

 

18.编辑界面代码通过freemarker来实现。

 

 

 

19.到这里代码从数据库表到业务层到视图层的代码就完成了,接下来我们codeFactory发布到tomcat中去tomcat用户名是admin密码admin)

 

20.项目发布成功后访问地址 http://127.0.0.1:8088/codeFactory/jeeadmin/jeecms/index.do

 

 

 

21.登陆成功后进入后台界面:强大的后台管理系统不需要一行代码就完成了。到这里一步相信很多人已经糊涂了,这个流程太复杂了

 

 

22. 强大的功能制定,可以任由你选择。

 

 

23.当这一步项目就演示结束了,欢迎大家学习,严禁商用(消化理解jeecms后改进的,只希望更多人了解cms)。

 

 

24、感谢 www.jeecms.com提供了如何优秀的开源项目,以后还会推出权限、流程审批、maven、svn、代码自动生成(从建表到业务层代码界面显示,不需要写一行代码就自动实现)。

44
3
分享到:
评论
35 楼 zz563143188 2013-04-13  
MrLee23 写道
呵呵,想问问,你是jeecms的内部人员,确切的问,是jeecms的架构?还是总监?
最后几个图让我有了这样的问题,呵呵。

我和他们没有关系,我是搞硬件开发的平时用的是VB,C++,delphi。java只是我自学的,我只是想把我学到的东西分享给大家。
34 楼 MrLee23 2013-04-13  
呵呵,想问问,你是jeecms的内部人员,确切的问,是jeecms的架构?还是总监?
最后几个图让我有了这样的问题,呵呵。
33 楼 zz563143188 2013-04-13  
MrLee23 写道
zz563143188 写道

谢谢你的建议
1.SVN版本我有,但没有发布。
2.只有自动生成代码的才是通用的Dao,如果不用也可以不继承。
3.恩,dao,servie都使用了配置文件。注解确实会有难度,维护压力大。基于spring mvc基本上如果有统一文档规范的命名规则这样用还是不错的。


3、实际中,使用文档规范的命名规则是不错的选择,但是,一旦出现BUG,恰巧bug是因为疏忽了文档规范的命名规则,所以找BUG的人就会很痛苦,文档规范的命名规则,宏观的东西交给它就有问题了。

这个你提醒我了,确实一人大型的项目可能是由不同批次不同水平的人做。时间长了文档和规范就不一定能起作用了,因为对于新的或者新手都有可能不会花时间熟悉规范而是直接写代码,对于新员工技术实力强的人可能会质疑这些规范而不是遵循规范。
32 楼 MrLee23 2013-04-13  
zz563143188 写道

谢谢你的建议
1.SVN版本我有,但没有发布。
2.只有自动生成代码的才是通用的Dao,如果不用也可以不继承。
3.恩,dao,servie都使用了配置文件。注解确实会有难度,维护压力大。基于spring mvc基本上如果有统一文档规范的命名规则这样用还是不错的。


3、实际中,使用文档规范的命名规则是不错的选择,但是,一旦出现BUG,恰巧bug是因为疏忽了文档规范的命名规则,所以找BUG的人就会很痛苦,文档规范的命名规则,宏观的东西交给它就有问题了。
31 楼 zz563143188 2013-04-13  
MrLee23 写道
提几点建议(不一定对):
1、希望能搞一个svn的地址。

2、你的dao是通用的一个dao。如果有定制型的dao,你这个架构就需要更改了吧?
3、好多地方用了注解,注解虽然方便,但是后期维护就比较麻烦,在代码里面做维护,和在配置文件里面做维护,心情是不一样的。

还没看到源代码,从图上看到的,需要楼主搞一个svn的,谢谢了。

谢谢你的建议
1.SVN版本我有,但没有发布。
2.只有自动生成代码的才是通用的Dao,如果不用也可以不继承。
3.恩,dao,servie都使用了配置文件。注解确实会有难度,维护压力大。基于spring mvc基本上如果有统一文档规范的命名规则这样用还是不错的。
30 楼 MrLee23 2013-04-13  
提几点建议(不一定对):
1、希望能搞一个svn的地址。

2、你的dao是通用的一个dao。如果有定制型的dao,你这个架构就需要更改了吧?
3、好多地方用了注解,注解虽然方便,但是后期维护就比较麻烦,在代码里面做维护,和在配置文件里面做维护,心情是不一样的。

还没看到源代码,从图上看到的,需要楼主搞一个svn的,谢谢了。
29 楼 zz563143188 2013-04-13  
QuarterLifeForJava 写道
又可以了,呵呵,不知道之前的那个报错是何缘故~

好吧,仔细琢磨一下这个项目,学习意义是很大的,特别是对新手来说。
28 楼 zz563143188 2013-04-13  
cyruscript 写道
好复杂哦,不过把这啃下应该能提高不少~

如果把这个搞熟悉了,能够自己把框架运用到公司的项目上去。你也就是一个J2EE中级工程师的水平了。
27 楼 QuarterLifeForJava 2013-04-13  
又可以了,呵呵,不知道之前的那个报错是何缘故~
26 楼 cyruscript 2013-04-13  
好复杂哦,不过把这啃下应该能提高不少~
25 楼 QuarterLifeForJava 2013-04-13  
zz563143188 写道
我运行测试是没有问题的,你用mysql6.0的服务器吧,还有你有表没有执行成功。你到http://pan.baidu.com/share/link?shareid=372668&uk=4076915866#dir/path=%2F%E5%AD%A6%E4%B9%A0%E6%96%87%E4%BB%B6 下载 HAP_SQLyog_Enterprise(mysql界面操作软件).rar 这个工具执行sql语句

恩,根据您的说法,已经成功部署和运行了,但是当我关闭服务器,重启电脑,再部署它就报错了,删掉项目,重新导入部署又可以了,报错如下,请教!
2013-4-13 11:13:14 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2013-4-13 11:13:14 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2013-4-13 11:13:14 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8888
2013-4-13 11:13:14 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2013-4-13 11:13:14 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 742 ms
2013-4-13 11:13:14 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-4-13 11:13:14 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2013-4-13 11:13:14 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2013-4-13 11:13:15 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2013-4-13 11:13:15 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory codeFactory
2013-4-13 11:13:15 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\apache-tomcat-6.0.29\webapps\codeFactory\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2013-4-13 11:13:15 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\apache-tomcat-6.0.29\webapps\codeFactory\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2013-4-13 11:13:17 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
[framework] 2013-04-13 11:13:17,183 -0    [main] INFO  org.springframework.web.context.ContextLoader  - Root WebApplicationContext: initialization started
[framework] 2013-04-13 11:13:17,291 -108  [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext  - Refreshing Root WebApplicationContext: startup date [Sat Apr 13 11:13:17 CST 2013]; root of context hierarchy
[framework] 2013-04-13 11:13:17,448 -265  [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/application-context.xml]
[framework] 2013-04-13 11:13:17,742 -559  [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/cache-context.xml]
[framework] 2013-04-13 11:13:17,769 -586  [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/captcha-context.xml]
[framework] 2013-04-13 11:13:17,795 -612  [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/jeecore-context.xml]
[framework] 2013-04-13 11:13:17,812 -629  [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/jeecms-context.xml]
[framework] 2013-04-13 11:13:18,776 -1593 [main] INFO  org.springframework.beans.factory.config.PropertyPlaceholderConfigurer  - Loading properties file from ServletContext resource [/WEB-INF/config/jdbc.properties]
[framework] 2013-04-13 11:13:19,131 -1948 [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5dc994: defining beans [propertyConfigurer,dataSource,sessionFactory,lobHandler,cacheProvider,treeInterceptor,transactionManager,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,cacheManager,ehSessionCache,ehContentCountCache,ehCmsSiteFlowCache,captchaService,imageEngine,captchaFactory,wordgen,wordtoimage,fontGenRandom,backGenUni,decoratedPaster,baffleDecorator,colorGen,colorWrite,colorBlack,rememberMeService,sessionProvider,imageScale,pwdEncoder,uuid,process_time,text_cut,html_cut,realPathResolver,fileRepository,tplManager,ipSeeker,authenticationDao,dbFileDao,unifiedUserDao,ftpDao,configDao,authenticationMng,dbFileMng,unifiedUserMng,ftpMng,configMng,tplMessageSource,cms_pagination,cms_channel_list,cms_channel_page,cms_channel,cms_content,cms_content_list,cms_content_page,cms_tag_list,cms_tag_page,cms_topic_list,cms_topic_page,cms_comment_list,cms_comment_page,cms_guestbook_ctg_list,cms_guestbook_list,cms_guestbook_page,cms_vote,cms_friendlink_ctg_list,cms_friendlink_list,cms_lucene_list,cms_lucene_page,cms_advertising,cms_perm,contentCountCache,cmsSiteFlowCache,acquisitionSvc,luceneContentSvc,staticPageSvc,cmsStatistSvc,contentLuceneListener,contentStaticPageListener,channelMng,channelExtMng,channelTxtMng,contentMng,contentTagMng,contentTypeMng,contentExtMng,contentTxtMng,contentCountMng,contentCheckMng,cmsSiteMng,cmsConfigMng,cmsUserMng,cmsUserExtMng,cmsUserSiteMng,cmsModelMng,cmsModelItemMng,cmsTopicMng,cmsGroupMng,cmsRoleMng,cmsLogMng,cmsAcquisitionMng,cmsAcquisitionHistoryMng,cmsAcquisitionTempMng,cmsCommentMng,cmsCommentExtMng,cmsKeywordMng,cmsSensitivityMng,cmsResourceMng,cmsGuestbookCtgMng,cmsGuestbookExtMng,cmsGuestbookMng,cmsVoteTopicMng,cmsVoteItemMng,cmsVoteRecordMng,cmsFriendlinkCtgMng,cmsFriendlinkMng,cmsAdvertisingSpaceMng,cmsAdvertisingMng,cmsMessageMng,cmsReceiverMessageMng,cmsSiteFlowMng,cmsDataMng,cmsDataBackMng,cmsFileMngImpl,cmsWorkLoadStatisticSvc,cmsAppInfoMng,cmsAppInfoDao,channelDao,channelExtDao,channelTxtDao,contentDao,contentTagDao,contentTypeDao,contentExtDao,contentTxtDao,contentCountDao,contentCheckDao,cmsSiteDao,cmsConfigDao,cmsUserDao,cmsUserExtDao,cmsUserSiteDao,cmsModelDao,cmsModelItemDao,cmsTopicDao,cmsGroupDao,cmsRoleDao,cmsLogDao,cmsAcquisitionDao,cmsAcquisitionHistoryDao,cmsAcquisitionTempDao,cmsCommentDao,cmsCommentExtDao,cmsKeywordDao,cmsSensitivityDao,cmsGuestbookCtgDao,cmsGuestbookExtDao,cmsGuestbookDao,cmsVoteTopicDao,cmsVoteItemDao,cmsVoteRecordDao,cmsFriendlinkCtgDao,cmsFriendlinkDao,cmsAdvertisingSpaceDao,cmsAdvertisingDao,cmsMessageDao,cmsReceiverMessageDao,luceneContentDao,staticPageDao,cmsStatisticDao,cmsSiteFlowDao,cmsDataDaoBack,cmsFileDaoImpl,cmsWorkLoadStatisticDao]; root of factory hierarchy
[framework] 2013-04-13 11:13:19,464 -2281 [main] INFO  org.springframework.web.context.ContextLoader  - Root WebApplicationContext: initialization completed in 2279 ms
2013-4-13 11:13:19 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter processTime
java.lang.ClassNotFoundException: com.jeecms.common.web.ProcessTimeFilter
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:269)
	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
	at org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[framework] 2013-04-13 11:13:19,717 -2534 [main] INFO  com.opensymphony.xwork2.config.providers.XmlConfigurationProvider  - Parsing configuration file [struts-default.xml]
[framework] 2013-04-13 11:13:19,962 -2779 [main] INFO  com.opensymphony.xwork2.config.providers.XmlConfigurationProvider  - Unable to locate configuration files of the name struts-plugin.xml, skipping
[framework] 2013-04-13 11:13:19,962 -2779 [main] INFO  com.opensymphony.xwork2.config.providers.XmlConfigurationProvider  - Parsing configuration file [struts-plugin.xml]
[framework] 2013-04-13 11:13:19,977 -2794 [main] INFO  com.opensymphony.xwork2.config.providers.XmlConfigurationProvider  - Parsing configuration file [../struts.xml]
[framework] 2013-04-13 11:13:19,982 -2799 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for class com.opensymphony.xwork2.ObjectFactory
[framework] 2013-04-13 11:13:19,982 -2799 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for class com.opensymphony.xwork2.conversion.impl.XWorkConverter
[framework] 2013-04-13 11:13:19,983 -2800 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.TextProvider
[framework] 2013-04-13 11:13:19,983 -2800 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.ActionProxyFactory
[framework] 2013-04-13 11:13:19,983 -2800 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.conversion.ObjectTypeDeterminer
[framework] 2013-04-13 11:13:19,983 -2800 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface org.apache.struts2.dispatcher.mapper.ActionMapper
[framework] 2013-04-13 11:13:19,983 -2800 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (jakarta) for interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
[framework] 2013-04-13 11:13:19,983 -2800 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for class org.apache.struts2.views.freemarker.FreemarkerManager
[framework] 2013-04-13 11:13:19,984 -2801 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface org.apache.struts2.components.UrlRenderer
[framework] 2013-04-13 11:13:19,984 -2801 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.validator.ActionValidatorManager
[framework] 2013-04-13 11:13:19,984 -2801 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.util.ValueStackFactory
[framework] 2013-04-13 11:13:19,984 -2801 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.util.reflection.ReflectionProvider
[framework] 2013-04-13 11:13:19,984 -2801 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.util.reflection.ReflectionContextFactory
[framework] 2013-04-13 11:13:19,984 -2801 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.util.PatternMatcher
[framework] 2013-04-13 11:13:19,985 -2802 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface org.apache.struts2.dispatcher.StaticContentLoader
[framework] 2013-04-13 11:13:19,985 -2802 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Choosing bean (struts) for interface com.opensymphony.xwork2.UnknownHandlerManager
[framework] 2013-04-13 11:13:19,990 -2807 [main] INFO  org.apache.struts2.config.BeanSelectionProvider  - Loading global messages from com.common.resource.message
[framework] 2013-04-13 11:13:20,420 -3237 [main] ERROR org.apache.struts2.dispatcher.Dispatcher  - Dispatcher initialization failed
Unable to load configuration. - action - file:/E:/apache-tomcat-6.0.29/webapps/codeFactory/WEB-INF/classes/com/common/resource/struts/system.xml:14:19
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)
	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
	at org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: Action class [com.jeecms.cms.action.admin.Struts2DemoAction] not found - action - file:/E:/apache-tomcat-6.0.29/webapps/codeFactory/WEB-INF/classes/com/common/resource/struts/system.xml:14:19
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:426)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:370)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:487)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:278)
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
	... 31 more
2013-4-13 11:13:20 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - action - file:/E:/apache-tomcat-6.0.29/webapps/codeFactory/WEB-INF/classes/com/common/resource/struts/system.xml:14:19
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:449)
	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
	at org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: Unable to load configuration. - action - file:/E:/apache-tomcat-6.0.29/webapps/codeFactory/WEB-INF/classes/com/common/resource/struts/system.xml:14:19
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)
	... 29 more
Caused by: Action class [com.jeecms.cms.action.admin.Struts2DemoAction] not found - action - file:/E:/apache-tomcat-6.0.29/webapps/codeFactory/WEB-INF/classes/com/common/resource/struts/system.xml:14:19
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:426)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:370)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:487)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:278)
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
	... 31 more
2013-4-13 11:13:20 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2013-4-13 11:13:20 org.apache.catalina.core.StandardContext start
严重: Context [/codeFactory] startup failed due to previous errors
2013-4-13 11:13:20 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
[framework] 2013-04-13 11:13:20,441 -3258 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext  - Closing Root WebApplicationContext: startup date [Sat Apr 13 11:13:17 CST 2013]; root of context hierarchy
[framework] 2013-04-13 11:13:20,577 -3394 [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory  - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5dc994: defining beans [propertyConfigurer,dataSource,sessionFactory,lobHandler,cacheProvider,treeInterceptor,transactionManager,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,cacheManager,ehSessionCache,ehContentCountCache,ehCmsSiteFlowCache,captchaService,imageEngine,captchaFactory,wordgen,wordtoimage,fontGenRandom,backGenUni,decoratedPaster,baffleDecorator,colorGen,colorWrite,colorBlack,rememberMeService,sessionProvider,imageScale,pwdEncoder,uuid,process_time,text_cut,html_cut,realPathResolver,fileRepository,tplManager,ipSeeker,authenticationDao,dbFileDao,unifiedUserDao,ftpDao,configDao,authenticationMng,dbFileMng,unifiedUserMng,ftpMng,configMng,tplMessageSource,cms_pagination,cms_channel_list,cms_channel_page,cms_channel,cms_content,cms_content_list,cms_content_page,cms_tag_list,cms_tag_page,cms_topic_list,cms_topic_page,cms_comment_list,cms_comment_page,cms_guestbook_ctg_list,cms_guestbook_list,cms_guestbook_page,cms_vote,cms_friendlink_ctg_list,cms_friendlink_list,cms_lucene_list,cms_lucene_page,cms_advertising,cms_perm,contentCountCache,cmsSiteFlowCache,acquisitionSvc,luceneContentSvc,staticPageSvc,cmsStatistSvc,contentLuceneListener,contentStaticPageListener,channelMng,channelExtMng,channelTxtMng,contentMng,contentTagMng,contentTypeMng,contentExtMng,contentTxtMng,contentCountMng,contentCheckMng,cmsSiteMng,cmsConfigMng,cmsUserMng,cmsUserExtMng,cmsUserSiteMng,cmsModelMng,cmsModelItemMng,cmsTopicMng,cmsGroupMng,cmsRoleMng,cmsLogMng,cmsAcquisitionMng,cmsAcquisitionHistoryMng,cmsAcquisitionTempMng,cmsCommentMng,cmsCommentExtMng,cmsKeywordMng,cmsSensitivityMng,cmsResourceMng,cmsGuestbookCtgMng,cmsGuestbookExtMng,cmsGuestbookMng,cmsVoteTopicMng,cmsVoteItemMng,cmsVoteRecordMng,cmsFriendlinkCtgMng,cmsFriendlinkMng,cmsAdvertisingSpaceMng,cmsAdvertisingMng,cmsMessageMng,cmsReceiverMessageMng,cmsSiteFlowMng,cmsDataMng,cmsDataBackMng,cmsFileMngImpl,cmsWorkLoadStatisticSvc,cmsAppInfoMng,cmsAppInfoDao,channelDao,channelExtDao,channelTxtDao,contentDao,contentTagDao,contentTypeDao,contentExtDao,contentTxtDao,contentCountDao,contentCheckDao,cmsSiteDao,cmsConfigDao,cmsUserDao,cmsUserExtDao,cmsUserSiteDao,cmsModelDao,cmsModelItemDao,cmsTopicDao,cmsGroupDao,cmsRoleDao,cmsLogDao,cmsAcquisitionDao,cmsAcquisitionHistoryDao,cmsAcquisitionTempDao,cmsCommentDao,cmsCommentExtDao,cmsKeywordDao,cmsSensitivityDao,cmsGuestbookCtgDao,cmsGuestbookExtDao,cmsGuestbookDao,cmsVoteTopicDao,cmsVoteItemDao,cmsVoteRecordDao,cmsFriendlinkCtgDao,cmsFriendlinkDao,cmsAdvertisingSpaceDao,cmsAdvertisingDao,cmsMessageDao,cmsReceiverMessageDao,luceneContentDao,staticPageDao,cmsStatisticDao,cmsSiteFlowDao,cmsDataDaoBack,cmsFileDaoImpl,cmsWorkLoadStatisticDao]; root of factory hierarchy
2013-4-13 11:13:20 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/codeFactory] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2013-4-13 11:13:20 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/codeFactory] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1e6696c]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@135133]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2013-4-13 11:13:20 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/codeFactory] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@381d92]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1d8e9e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

24 楼 zz563143188 2013-04-13  
freezingsky 写道
文件数量和代码数量,都相当的丰厚啊!

如果你把这些掌握了,你也就是牛人了。这个你可慢慢研究学习,以后自己公司的项目可以采用这个结构。
23 楼 zz563143188 2013-04-13  
weishouzi 写道
http://www.jeecms.com/登录很慢,什么问题?

为是jeecms的官网,我不是很清楚。可能是你的网速或者网络问题吧
22 楼 zz563143188 2013-04-13  
QuarterLifeForJava 写道
新手学习,部署后遇到两个问题,请教下:
一、运行数据库脚本jeecms-db-2012-sp1.sql
最后一行报错,错误如下:
[SQL]
INSERT INTO USER_INFO VALUES(1,'admin','123','1986-11-24',1,20);
[Err] 1100 - Table 'USER_INFO' was not locked with LOCK TABLES
二、后台报错,错误如下:
com.jeecms.core.manager.impl.UnifiedUserMngImpl.login 这里我把密码取消了
我在com.jeecms.cms.action.admin.CmsLoginAct.submit加 returnUrl= /jeeadmin/jeecms/index.do
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-3] WARN  org.hibernate.util.JDBCExceptionReporter  - SQL Error: 1054, SQLState: 42S22
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-3] ERROR org.hibernate.util.JDBCExceptionReporter  - Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-6] WARN  org.hibernate.util.JDBCExceptionReporter  - SQL Error: 1054, SQLState: 42S22
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-6] ERROR org.hibernate.util.JDBCExceptionReporter  - Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-6] INFO  org.hibernate.event.def.DefaultLoadEventListener  - Error performing load command
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getVersion(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.action.admin.WelcomeAct.right(WelcomeAct.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:421)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:409)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	... 56 more
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-3] INFO  org.hibernate.event.def.DefaultLoadEventListener  - Error performing load command
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getContextPath(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.entity.main.CmsSite.getContextPath(CmsSite.java:156)
	at com.jeecms.cms.entity.main.CmsSite.getUrlBuffer(CmsSite.java:54)
	at com.jeecms.cms.entity.main.CmsSite.getUrlDynamic(CmsSite.java:44)
	at com.jeecms.cms.entity.main.CmsSite.getUrl(CmsSite.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
	at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276)
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.Environment.process(Environment.java:190)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1063)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	... 74 more
[framework] 2013-04-12 20:58:05,908 -105691 [http-8888-3] ERROR freemarker.runtime  - get(url) failed on instance of com.jeecms.cms.entity.main.CmsSite

get(url) failed on instance of com.jeecms.cms.entity.main.CmsSite
The problematic instruction:
----------
==> ${site.url} [on line 112, column 68 in jeecms_sys/top.html]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: get(url) failed on instance of com.jeecms.cms.entity.main.CmsSite
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:223)
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.Environment.process(Environment.java:190)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1063)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
	at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276)
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
	... 50 more
Caused by: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getContextPath(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.entity.main.CmsSite.getContextPath(CmsSite.java:156)
	at com.jeecms.cms.entity.main.CmsSite.getUrlBuffer(CmsSite.java:54)
	at com.jeecms.cms.entity.main.CmsSite.getUrlDynamic(CmsSite.java:44)
	at com.jeecms.cms.entity.main.CmsSite.getUrl(CmsSite.java:26)
	... 57 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	... 74 more
2013-4-12 20:58:05 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet JeeCmsAdmin threw exception
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getVersion(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.action.admin.WelcomeAct.right(WelcomeAct.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:421)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:409)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
2013-4-12 20:58:05 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet JeeCmsAdmin threw exception
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getContextPath(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.entity.main.CmsSite.getContextPath(CmsSite.java:156)
	at com.jeecms.cms.entity.main.CmsSite.getUrlBuffer(CmsSite.java:54)
	at com.jeecms.cms.entity.main.CmsSite.getUrlDynamic(CmsSite.java:44)
	at com.jeecms.cms.entity.main.CmsSite.getUrl(CmsSite.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
	at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276)
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.Environment.process(Environment.java:190)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1063)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)

页面500错误主要问题如下:
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'

我运行测试是没有问题的,你用mysql6.0的服务器吧,还有你有表没有执行成功。你到http://pan.baidu.com/share/link?shareid=372668&uk=4076915866#dir/path=%2F%E5%AD%A6%E4%B9%A0%E6%96%87%E4%BB%B6 下载 HAP_SQLyog_Enterprise(mysql界面操作软件).rar 这个工具执行sql语句
21 楼 zz563143188 2013-04-13  
601235723 写道
action应该放到web层下面吧

能够说详细一些吗,说说你理由和看法。
20 楼 freezingsky 2013-04-12  
文件数量和代码数量,都相当的丰厚啊!
19 楼 weishouzi 2013-04-12  
http://www.jeecms.com/登录很慢,什么问题?
18 楼 QuarterLifeForJava 2013-04-12  
新手学习,部署后遇到两个问题,请教下:
一、运行数据库脚本jeecms-db-2012-sp1.sql
最后一行报错,错误如下:
[SQL]
INSERT INTO USER_INFO VALUES(1,'admin','123','1986-11-24',1,20);
[Err] 1100 - Table 'USER_INFO' was not locked with LOCK TABLES
二、后台报错,错误如下:
com.jeecms.core.manager.impl.UnifiedUserMngImpl.login 这里我把密码取消了
我在com.jeecms.cms.action.admin.CmsLoginAct.submit加 returnUrl= /jeeadmin/jeecms/index.do
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-3] WARN  org.hibernate.util.JDBCExceptionReporter  - SQL Error: 1054, SQLState: 42S22
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-3] ERROR org.hibernate.util.JDBCExceptionReporter  - Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-6] WARN  org.hibernate.util.JDBCExceptionReporter  - SQL Error: 1054, SQLState: 42S22
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-6] ERROR org.hibernate.util.JDBCExceptionReporter  - Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-6] INFO  org.hibernate.event.def.DefaultLoadEventListener  - Error performing load command
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getVersion(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.action.admin.WelcomeAct.right(WelcomeAct.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:421)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:409)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	... 56 more
[framework] 2013-04-12 20:58:05,892 -105675 [http-8888-3] INFO  org.hibernate.event.def.DefaultLoadEventListener  - Error performing load command
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getContextPath(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.entity.main.CmsSite.getContextPath(CmsSite.java:156)
	at com.jeecms.cms.entity.main.CmsSite.getUrlBuffer(CmsSite.java:54)
	at com.jeecms.cms.entity.main.CmsSite.getUrlDynamic(CmsSite.java:44)
	at com.jeecms.cms.entity.main.CmsSite.getUrl(CmsSite.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
	at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276)
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.Environment.process(Environment.java:190)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1063)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	... 74 more
[framework] 2013-04-12 20:58:05,908 -105691 [http-8888-3] ERROR freemarker.runtime  - get(url) failed on instance of com.jeecms.cms.entity.main.CmsSite

get(url) failed on instance of com.jeecms.cms.entity.main.CmsSite
The problematic instruction:
----------
==> ${site.url} [on line 112, column 68 in jeecms_sys/top.html]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: get(url) failed on instance of com.jeecms.cms.entity.main.CmsSite
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:223)
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.Environment.process(Environment.java:190)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1063)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
	at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276)
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
	... 50 more
Caused by: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getContextPath(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.entity.main.CmsSite.getContextPath(CmsSite.java:156)
	at com.jeecms.cms.entity.main.CmsSite.getUrlBuffer(CmsSite.java:54)
	at com.jeecms.cms.entity.main.CmsSite.getUrlDynamic(CmsSite.java:44)
	at com.jeecms.cms.entity.main.CmsSite.getUrl(CmsSite.java:26)
	... 57 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	... 74 more
2013-4-12 20:58:05 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet JeeCmsAdmin threw exception
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getVersion(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.action.admin.WelcomeAct.right(WelcomeAct.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:421)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:409)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
2013-4-12 20:58:05 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet JeeCmsAdmin threw exception
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.loadEntity(Loader.java:1885)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:864)
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:141)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at com.jeecms.cms.entity.main.CmsConfig_$$_javassist_39.getContextPath(CmsConfig_$$_javassist_39.java)
	at com.jeecms.cms.entity.main.CmsSite.getContextPath(CmsSite.java:156)
	at com.jeecms.cms.entity.main.CmsSite.getUrlBuffer(CmsSite.java:54)
	at com.jeecms.cms.entity.main.CmsSite.getUrlDynamic(CmsSite.java:44)
	at com.jeecms.cms.entity.main.CmsSite.getUrl(CmsSite.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
	at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276)
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:210)
	at freemarker.core.Environment.process(Environment.java:190)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1063)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	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:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)

页面500错误主要问题如下:
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.cms.entity.main.CmsConfig#1]

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'cmsconfig0_.EMAIL_VALIDATE' in 'field list'
17 楼 601235723 2013-04-12  
action应该放到web层下面吧
16 楼 zz563143188 2013-04-12  
lolopig 写道
既然在这里遇到了你,支持支持..

好的,谢谢。

相关推荐

    struts2+spring2.5+hibernate3.2 + freemarker 全新功能实现的增删改查+freemarker 摸版

    struts2+spring2.5+hibernate3.2 + freemarker 全新功能实现的增删改查+freemarker 摸版 struts2 的方式自己去看简单。 spring2.5 是用注释来注入 hibernate3.2 是用ejb3注解映射关系 hibernate3 +个属性可以自动...

    Spring mvc+hibernate+freemarker(开源项目)

    ### Spring MVC + Hibernate + FreeMarker 开源项目解析 #### 一、项目背景与技术栈介绍 本项目基于Spring MVC框架,结合Hibernate ORM工具以及FreeMarker模板引擎构建,旨在为初学者提供一个完整的Web应用程序...

    spring mvc + hibernate + freemarker开源项目源码下载.zip

    《Spring MVC + Hibernate + Freemarker 开源项目源码解析》 在现代Web开发中,Spring MVC、Hibernate和Freemarker是三个非常重要的技术组件,它们分别承担着不同的职责,共同构建了一个高效、灵活且可扩展的后端...

    spring4MVC+Hibernate4实例(增删改查)

    在本实例中,"spring4MVC+Hibernate4实例(增删改查)"是一个基于Maven构建的Java Web项目,旨在演示如何整合Spring MVC和Hibernate框架来实现数据的CRUD(创建、读取、更新和删除)操作。Spring MVC是Spring框架的...

    手动创建 SpringMvc +SpringDataJpa+Hibernate+ freemarker mavenProject+ 环境切换 webDemo

    总结来说,本项目是一个基础的Web开发框架,结合了SpringMVC的MVC设计模式、Spring Data JPA的数据访问层、Hibernate的ORM能力以及FreeMarker的模板引擎,同时还实现了环境配置的灵活切换,为开发高效、可维护的Web...

    idea工具创建的Spring+SpringMVC+Hibernate+maven项目

    通过学习这个项目,你可以了解如何设置IDE、配置项目结构、使用Maven管理依赖、编写Spring配置、设计Spring MVC控制器、集成Hibernate进行数据库操作等。在实际操作中,你可能还会接触到JDBC、模板引擎(如Thymeleaf...

    Struts2+Spring2.5+hibernate3.2+freemarker

    Struts2、Spring、Hibernate 和 FreeMarker 是Java Web开发中常用的四大框架,它们结合使用能够构建高效、可维护的企业级应用程序。以下是对这些技术及其整合的详细解释: **Struts2** 是一个基于MVC(Model-View-...

    springmvc+spring+hibernate

    Spring MVC、Spring 和 Hibernate 是Java Web开发中的三大主流框架,它们各司其职,共同构建了一个强大而灵活的后端架构。Spring MVC 负责处理HTTP请求并将其路由到相应的控制器,Spring 提供了依赖注入(DI)和面向...

    Spring + Hibernate + Spring mvc +Ajax 整合

    Spring、Hibernate、Spring MVC 和 Ajax 是四个在Java Web开发中广泛应用的技术框架,它们共同构建了一个高效、灵活且功能丰富的后端系统。以下是对这些技术及其整合应用的详细说明: Spring框架是一个全面的企业级...

    (Spring +Spring Mvc + Hibernate) 框架jar包

    SSH框架,全称为Spring、Spring MVC和Hibernate的组合,是Java Web开发中广泛使用的三大开源框架。它们分别负责不同层面的职责,共同构建了一个高效、灵活的开发环境。 Spring框架是核心,它提供了依赖注入...

    Spring4MVC+Hibernate4+Freemarker+Ehcache+EASYUI

    本项目整合了Spring4MVC、Hibernate4、Freemarker、Ehcache以及EasyUI,旨在提供一个强大的后端框架与美观的前端界面,同时优化性能。接下来,我们将详细讨论这些技术组件及其在项目中的作用。 **Spring4MVC**: ...

    SpringMVC3+Spring3+Hibernate3+Freemarker+HTML5的开源项目jeecms

    SpringMVC处理请求,Spring提供依赖注入和事务管理,Hibernate负责数据持久化,Freemarker生成动态页面,而HTML5则提升用户体验。这样的组合在企业级应用中非常常见,体现了现代Web开发的最佳实践。通过对...

    spring+spring mvc+hibernate开发工程财务管理辅助系统

    《基于Spring+Spring MVC+Hibernate的工程财务管理系统详解》 在现代企业中,高效、准确的财务管理是至关重要的。为了实现这一目标,开发者们通常会采用先进的技术框架来构建财务管理系统。本文将深入探讨如何利用...

    SpringMVC+Hibernate+Freemarker 干净的框架

    SpringMVC、Hibernate和Freemarker是Java Web开发中三个重要的技术组件,它们共同构建了一个高效、灵活且可维护的Web应用框架。SpringMVC作为Spring框架的一部分,负责处理HTTP请求和响应,提供模型-视图-控制器...

    maven+springmvc+spring+hibernate+freemarker

    maven管理项目+springmvc+spring+hibernate+freemarker 集成框架。其中注解格式清晰,hibernate进行了代码封装,对开发效率有了提高,对异常进行了封装。freemarker也有优化,参考common包下。对日期工具类有各种...

    spring mvc+hibernate

    Spring MVC 和 Hibernate 是两个在 Java Web 开发中广泛使用的开源框架。Spring MVC 是 Spring 框架的一部分,专门用于构建 Web 应用的模型-视图-控制器(MVC)架构,而 Hibernate 是一个对象关系映射(ORM)工具,...

    (Spring2.5+hibernate3.2)框架源码

    Spring 和 Hibernate 是两个非常重要的 Java 开发框架,它们在企业级应用开发中占据了核心地位。Spring 作为一个全面的后端应用程序框架,提供了依赖注入、面向切面编程、事务管理等功能,而 Hibernate 则是一个强大...

    struts2.1+spring2.5+hibernate3.3整合之第一步(spring2.5+hibernate3.3)

    Struts2.1、Spring2.5和Hibernate3.3是经典的Java企业级开发框架组合,它们各自在应用程序的不同层面提供了强大的支持。本篇将详细阐述这三个组件的整合过程,以及各自的核心特性。 首先,Struts2是一个基于MVC设计...

Global site tag (gtag.js) - Google Analytics