主题 : CMS接口访问失败
级别: 童生
UID: 136287
积分:24 加为好友
威望: 0 精华: 0
主题:1 回复:11
注册时间:2020-10-27
在线时长:0
1#   发表于:2020-10-28 17:25:26  IP:60.5.*.*
CMS接口访问失败
级别: 总版主
UID: 10736
积分:148300 加为好友
威望: 204 精华: 42
主题:286 回复:126065
注册时间:2010-09-08
在线时长:11.66
2#   发表于:2020-10-29 09:07:19  IP:182.29.*.*
CMS接口访问失败
什么接口访问失败?报什么错误
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 136287
积分:24 加为好友
威望: 0 精华: 0
主题:1 回复:11
注册时间:2020-10-27
在线时长:0
3#   发表于:2020-10-29 09:11:58  IP:60.5.*.*
tanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 50 threads.
  Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is not clustered.
 
2020-10-28 23:21:39.775 [localhost-startStop-1] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'schedulerFactoryBean' initialized from an externally pro
vided properties instance. 
2020-10-28 23:21:39.775 [localhost-startStop-1] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.0 
2020-10-28 23:21:39.775 [localhost-startStop-1] INFO  org.quartz.core.QuartzScheduler - JobFactory set to: com.jeecms.component.QuartzConfiguration$AutowiringSpringBe
anJobFactory@297585b6 
2020-10-28 23:21:39.816 [localhost-startStop-1] ERROR com.jeecms.system.service.impl.SysJobServiceImpl - 生成数据统计任务启动失败, time:Wed Oct 28 23:21:39 CST 2020 
2020-10-28 23:21:39.816 [localhost-startStop-1] ERROR com.jeecms.system.service.impl.SysJobServiceImpl - 生成日志统计任务启动失败, time:Wed Oct 28 23:21:39 CST 2020 
2020-10-28 23:21:39.817 [localhost-startStop-1] ERROR com.jeecms.system.service.impl.SysJobServiceImpl - 生成日志告警任务启动失败, time:Wed Oct 28 23:21:39 CST 2020 
2020-10-28 23:21:39.817 [localhost-startStop-1] ERROR com.jeecms.system.service.impl.SysJobServiceImpl - 生成日志预警任务启动失败, time:Wed Oct 28 23:21:39 CST 2020 
2020-10-28 23:21:39.818 [localhost-startStop-1] ERROR com.jeecms.system.service.impl.SysJobServiceImpl - 粉丝统计任务启动失败, time:Wed Oct 28 23:21:39 CST 2020 
2020-10-28 23:21:39.818 [localhost-startStop-1] ERROR com.jeecms.system.service.impl.SysJobServiceImpl - 内容统计任务启动失败, time:Wed Oct 28 23:21:39 CST 2020 
2020-10-28 23:21:41.381 [localhost-startStop-1] WARN  org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 1146, SQLState: 42S02 
2020-10-28 23:21:41.381 [localhost-startStop-1] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Table 'jeecms.jc_sys_config' doesn't exist 
2020-10-28 23:21:41.385 [localhost-startStop-1] INFO  o.h.event.internal.DefaultLoadEventListener - HHH000327: Error performing load command : org.hibernate.exception
.SQLGrammarException: could not extract ResultSet 
org.hibernate.exception.SQLGrammarException: could not extract ResultSet
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:69)
at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.getResultSet(AbstractLoadPlanBasedLoader.java:419)
at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeQueryStatement(AbstractLoadPlanBasedLoader.java:191)
at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:121)
at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:86)
at org.hibernate.loader.entity.plan.AbstractLoadPlanBasedEntityLoader.load(AbstractLoadPlanBasedEntityLoader.java:167)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:4121)
at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:508)
at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:478)
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:219)
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278)
at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121)
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1240)
at org.hibernate.internal.SessionImpl.access$1900(SessionImpl.java:204)
at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.doLoad(SessionImpl.java:2842)
at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2816)
at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3445)
at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3414)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:305)
at com.sun.proxy.$Proxy149.find(Unknown Source)
at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
级别: 总版主
UID: 10736
积分:148300 加为好友
威望: 204 精华: 42
主题:286 回复:126065
注册时间:2010-09-08
在线时长:11.66
4#   发表于:2020-10-29 09:15:25  IP:182.29.*.*
是访问的什么接口?
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 136287
积分:24 加为好友
威望: 0 精华: 0
主题:1 回复:11
注册时间:2020-10-27
在线时长:0
5#   发表于:2020-10-29 09:16:53  IP:60.5.*.*
现在是tomcat可以启动,从tomcat日志里看报以上错误,cms地址不能访问,请老师帮忙看一下。
级别: 总版主
UID: 10736
积分:148300 加为好友
威望: 204 精华: 42
主题:286 回复:126065
注册时间:2010-09-08
在线时长:11.66
6#   发表于:2020-10-29 09:20:02  IP:182.29.*.*
上面是数据库错误,数据库创建好了么
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 136287
积分:24 加为好友
威望: 0 精华: 0
主题:1 回复:11
注册时间:2020-10-27
在线时长:0
7#   发表于:2020-10-29 09:22:32  IP:60.5.*.*
回复第6楼创建好了,我修改了application-prod.properties文件如下
数据库名jeecms    ip:10.6.3.107  密码password01!  
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://10.6.3.107:3306/jeecms?useUnicode=true&characterEncoding=UTF-8&useSSL=false
spring.datasource.username=root
spring.datasource.password=password01!
spring.jpa.database-platform=MySQL5InnoDB
级别: 总版主
UID: 10736
积分:148300 加为好友
威望: 204 精华: 42
主题:286 回复:126065
注册时间:2010-09-08
在线时长:11.66
8#   发表于:2020-10-29 09:29:16  IP:182.29.*.*
数据库忽略下大小写
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 136287
积分:24 加为好友
威望: 0 精华: 0
主题:1 回复:11
注册时间:2020-10-27
在线时长:0
9#   发表于:2020-10-29 09:48:33  IP:60.5.*.*
回复第8楼
忽略大小写my.cnf配置过
lower_case_table_names = 1

cms体验版,我修改application-prod.properties这个文件的jdbc配置就可以吗?
级别: 总版主
UID: 10736
积分:148300 加为好友
威望: 204 精华: 42
主题:286 回复:126065
注册时间:2010-09-08
在线时长:11.66
10#   发表于:2020-10-29 09:51:21  IP:182.29.*.*
嗯,里面有个说明你看下数据库连接的那个
路漫漫其修远兮,吾将上下而求索!
1 2 3 > >| 共3页