主题 : jeecms-v5添加几个和jc_user关联的*类访问后台报错
级别: 举人
UID: 60433
积分:155 加为好友
威望: 18 精华: 0
主题:19 回复:97
注册时间:2014-04-11
在线时长:0
1#   发表于:2014-08-19 15:47:51  IP:114.219.*.*
求解决:
在BaseCmsUser类中加的:

在hbm.xml中:

访问后台首页报错:


nested exception is org.hibernate.hql.ast.QuerySyntaxException: 
CmsSiteFlow is not mapped [select count(*) from CmsSiteFlow bean 
where bean.site.id=:siteId and bean.accessTime >= :begin and bean.accessTime < :end]
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
2#   发表于:2014-08-19 15:51:09  IP:182.216.*.*
抱歉自己二次开发加*类后报错出现的问题不在服务范围了,这属于二次开发内容需要你自己去找原因了
功成由勤,业精于勤。
级别: 举人
UID: 60433
积分:155 加为好友
威望: 18 精华: 0
主题:19 回复:97
注册时间:2014-04-11
在线时长:0
3#   发表于:2014-08-19 15:53:29  IP:114.219.*.*
1 共1页