主题 : jeecms v7 源码搭建,tomcat启动出错。
级别: 商业授权用户
UID: 94211
积分:709 加为好友
威望: 3 精华: 0
主题:106 回复:444
注册时间:2016-11-08
在线时长:0
1#   发表于:2016-11-10 22:05:03  IP:120.212.*.*
求大神帮帮忙。



22:04:35.213 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTask' defined in ServletContext resource [/WEB-INF/config/quartz-task.xml]: Invocation of init method failed; nested exception is org.hibernate.hql.ast.QuerySyntaxException: CmsTask is not mapped [from CmsTask]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) ~[spring-context-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) ~[spring-context-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) ~[spring-web-3.2.6.jar:3.2.6.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) ~[spring-web-3.2.6.jar:3.2.6.RELEASE]
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2016-11-11 08:20:46  IP:117.124.*.*
部署环境说下
1
级别: 商业授权用户
UID: 94211
积分:709 加为好友
威望: 3 精华: 0
主题:106 回复:444
注册时间:2016-11-08
在线时长:0
3#   发表于:2016-11-11 09:35:02  IP:120.212.*.*
回复第2楼

tomcat 7  、eclipse 、oracle
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2016-11-11 09:36:36  IP:115.78.*.*
你是不是弄错库了
1
级别: 商业授权用户
UID: 94211
积分:709 加为好友
威望: 3 精华: 0
主题:106 回复:444
注册时间:2016-11-08
在线时长:0
5#   发表于:2016-11-11 09:42:55  IP:120.212.*.*
回复第4楼
先前用的是v6的库,现在想导v7的库,执行sql脚本报错。
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
6#   发表于:2016-11-11 09:45:36  IP:115.78.*.*
报什么错,v7的当然不能用v6的库
1
级别: 商业授权用户
UID: 94211
积分:709 加为好友
威望: 3 精华: 0
主题:106 回复:444
注册时间:2016-11-08
在线时长:0
7#   发表于:2016-11-11 09:54:51  IP:120.212.*.*
回复第6楼
打开pl/sql 后,新建,把网上下的v7的sql  脚本复制进去,然后执行,然后会弹出一个框,我不知道是什么就
直接点击确认,然后就执行了,很卡很慢,走了几分钟以后,就报错了,有表命无效、有sql命令未正常结束等等。
   
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
8#   发表于:2016-11-11 09:56:09  IP:115.78.*.*
用dmp文件导入试下
1
级别: 商业授权用户
UID: 94211
积分:709 加为好友
威望: 3 精华: 0
主题:106 回复:444
注册时间:2016-11-08
在线时长:0
9#   发表于:2016-11-11 09:59:35  IP:120.212.*.*
回复第8楼
我的v6版本是dmp文件,能导入,也不报错,v7这个版本没有dmp文件啊。您有吗?
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
10#   发表于:2016-11-11 10:00:30  IP:115.78.*.*
v7有啊,售前肯定一起发你了啊
1
1 2 > >| 共2页