主题 : 项目启动报错~~!
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
11#   发表于:2020-05-15 15:43:16  IP:182.28.*.*
数据库有配置忽略打小写吗?
每天告诉自己一次,“我真的很不错”。
级别: 白丁
UID: 134427
积分:81 加为好友
威望: 1 精华: 0
主题:6 回复:27
注册时间:2020-05-14
在线时长:0
12#   发表于:2020-05-15 16:38:51  IP:111.23.*.*
回复第11楼
数据库的设置是区分大小写
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
13#   发表于:2020-05-15 16:48:36  IP:182.28.*.*
您发下您那边现在哪个配置文件的截图给我我看下
每天告诉自己一次,“我真的很不错”。
级别: 白丁
UID: 134427
积分:81 加为好友
威望: 1 精华: 0
主题:6 回复:27
注册时间:2020-05-14
在线时长:0
14#   发表于:2020-05-15 17:17:11  IP:111.23.*.*
回复第13楼
您要看哪个配置文件?项目的还是mysql的?
级别: 白丁
UID: 134427
积分:81 加为好友
威望: 1 精华: 0
主题:6 回复:27
注册时间:2020-05-14
在线时长:0
15#   发表于:2020-05-15 17:20:20  IP:111.23.*.*
# 错误提示包含堆栈信息
server.error.include-stacktrace=always
# 日志级别为ERROR
logging.level.root=info
logging.level.org.quartz=info
# 显示tomcat启动信息
logging.level.org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer=info
logging.level.com.jeecms.front.CmsFrontApplication=info
logging.level.com.jeecms.admin.CmsAdminApplication=info
logging.level.com.gargoylesoftware.htmlunit=warn

# Web服务的端口号
server.port=8080
# 模板及模板资源实现方式,目前仅支持local及ftp配置项,
#local:本地文件适用于单机模式下部署,
#ftp:远程ftp模式适用于集群下部署,需要配合更改jeecms-front工程中resource/config/context.xml文件中的templateLoaderPath属性
freemarker.resources.type=local
freemarker.templateLoaderPath=
#集群下 具体模板文件访问域名
#freemarker.templateLoaderPath=http://192.168.0.200:8701
#是否支持工作流 flowable支持 local不支持
workflow.support=flowable
#一个线程处理生成静态页数量(建议100,不是越大越好,也不是越小越好)
oneThreadProcessPages=100
#关闭定时任务JOB 
flowable.async-executor-activate=false
# 将databaseSchemaUpdate设置为true。当Flowable发现库与数据库表结构不一致时,会自动将数据库表结构升级至新版本。第一次生成后建议关闭提高运行速度
flowable.database-schema-update=true
#flowable 取消spring boot时自动部署resource/processes中的流程文件
flowable.check-process-definitions: true
#保存历史数据级别设置为full最高级别,便于历史数据的追溯
#flowable.history-level: full

# Web服务上下文路径
server.servlet.path=/
#上下文路径
server.servlet.context-path=/

#环境分离(application.properties 需要-dev  -beta  -prod文件)
spring.profiles.active=prod

#springboot 2.0不限制WEB上传大小
spring.servlet.multipart.max-file-size=-1
spring.servlet.multipart.max-request-size=-1

# 关闭springboot启动时的banner
spring.main.banner-mode=off

##  Hikari 连接池配置 ------ 详细配置请访问:https://github.com/brettwooldridge/HikariCP
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
# 等待连接池分配连接的最大时长(毫秒),超过这个时长还没可用的连接则发生SQLException, 默认:30秒
spring.datasource.hikari.connection-timeout=30000
# 最小连接数
spring.datasource.hikari.minimum-idle=10
# 最大连接数
spring.datasource.hikari.maximum-pool-size=150
# 自动提交
spring.datasource.hikari.auto-commit=true
# 一个连接idle状态的最大时长(毫秒),超时则被释放(retired),默认:10分钟
spring.datasource.hikari.idle-timeout=600000
# 连接池名字
spring.datasource.hikari.pool-name=HikariCP
# 一个连接的生命时长(毫秒),超时而且没被使用则被释放(retired),默认:30分钟 1800000ms,建议设置比数据库超时时长少60秒,参考MySQL wait_timeout参数(show variables like '%timeout%';) -->
spring.datasource.hikari.max-lifetime=1800000


# 连接池最大连接数,默认1000
spring.datasource.tomcat.max-active=1000
# 连接池最大空闲连接数,默认与最大连接数一样
spring.datasource.tomcat.max-idle=100
# 连接池初始连接数据,默认10
spring.datasource.tomcat.initial-size=10
# 连接池最小空闲连接数,默认与初始化连接数一样
spring.datasource.tomcat.min-idle=10
# 数据库事务是否自动提交,应设置为false
spring.datasource.tomcat.default-auto-commit=false
# 如果数据库会自动断开连接, 一般开启validation-query, test-while-idle即可,test-on-borrow,test-on-return对性能有一定影响

# 当数据库连接空闲的时候,检查连接是否可用
spring.datasource.tomcat.test-while-idle=true

# springDataJPA相关配置参数
# 关闭默认的interceptor方式,自行使用filter方式。
spring.jpa.open-in-view=false
# 使用增强版的主键生成器。新的生成器更加高效,也更符合 JPA2 的规范
spring.jpa.hibernate.use-new-id-generator-mappings=true
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
#entity拦截器
spring.jpa.properties.hibernate.ejb.interceptor=com.jeecms.common.interceptor.TreeInterceptor
#org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

#指定message的basename,多个以逗号分隔,如果不加包名的话,默认从classpath路径开始,默认: messages 系统默认messages
spring.messages.basename=messages/messages
#设定加载的资源文件缓存失效时间,-1的话为永不过期,默认为-1
spring.messages.cache.seconds=-1
#地址前缀
spring.mvc.view.prefix=/WEB-INF/jeecms/
spring.mvc.view.suffix=.html

# freemark相关配置参数 (FreeMarkerAutoConfiguration)
# 检查freemarker模板根路径是否存在。无需检查,设置为false
spring.freemarker.checkTemplateLocation=false
#freemark其他参数均为默认配置,可去除
#spring.freemarker.allowRequestOverride=false
#spring.freemarker.allowSessionOverride=false
#spring.freemarker.cache=true
spring.freemarker.content-type=text/html
#spring.freemarker.exposeRequestAttributes=false
#spring.freemarker.exposeSessionAttributes=false
#spring.freemarker.exposeSpringMacroHelpers=false
#spring.freemarker.prefix=
#spring.freemarker.requestContextAttribute=
#spring.freemarker.settings.*=
spring.freemarker.suffix=.html
spring.freemarker.templateEncoding=UTF-8

#配置response编码
spring.http.encoding.charset=UTF-8
spring.http.encoding.enable=true
spring.http.encoding.force=true
spring.http.encoding.force-response=true

#redis session
spring.session.store-type=redis
spring.redis.defaultExpiration=1800
#配置redis数据库连接
#jedis客户端
#spring.cache.type=redis
spring.redis.host=127.0.0.1
spring.redis.password=$adW18i
spring.redis.port=6379
#默认是索引为的0的数据库
spring.redis.database= 0
spring.redis.timeout=6000ms
spring.redis.jedis.pool.max-active=20
spring.redis.jedis.pool.max-wait=60000ms
spring.redis.jedis.pool.min-idle=1
spring.redis.jedis.pool.max-idle=20
#lettuce客户端
#spring.redis.lettuce.pool.min-idle=1
#spring.redis.lettuce.pool.max-idle=20
#spring.redis.lettuce.pool.max-wait=60000ms
#spring.redis.lettuce.pool.max-active=20
#spring.redis.lettuce.shutdown-timeout=100ms

#rabbitmq相关配置
#用户名
spring.rabbitmq.username=guest
#密码
spring.rabbitmq.password=guest
#服务器ip
spring.rabbitmq.host=localhost
#虚拟空间地址
spring.rabbitmq.virtual-host=/
#端口号
spring.rabbitmq.port=5672
#配置发布消息确认回调
spring.rabbitmq.publisher-confirms=true
#rabbitmq相关
spring.rabbitmq.appid=9A064E7A180DD4790F827F546F699BB3

#设置session过期时间 17200s
spring.servlet.session.timeout=17200s
#token有效时间(以秒为单位)以秒为单位,120分钟   7200秒 17200
token.effectiveTime=17200
#交换token的时间以秒为单位 1300
token.exchangeTime=1300
# token 加密密钥
token.secret=secret
#认证header 标识符JEECMS-Auth-Token
token.header=JEECMS-Auth-Token
#认证失败是否重定向header
redirect.header=Redirect-Header
#是否记录日志
logger.header=Logger-Header
#站点ID参数
siteId.header=siteId
#下次登录cookie有效时间,单位秒,默认1年
cookie.rememberMeTokenEffectTime=31536000
user.auth=auth
#加密字符串传参名
security.des.param.name=desStr
#des加密密钥key,必须24位长度
security.des.key=WfJTKO9S4eLkrPz2JKrAnzdb
#des加密iv,必须8位长度
security.des.iv=D076D35C

# MessageSource缓存时间。单位:秒。设置为-1,则永久缓存。
message.cacheSeconds=-1
# freemarker模板缓存时间。单位:秒。
freemarker.template_update_delay=3

#索引设置
#TransportClient设置
es.cluster-name=elasticsearch
#RestHighLevelClient设置集群多节点以,相隔,192.168.0.173
httpHost.host=192.168.0.173
#多节点以,相隔
httpHost.port=9200
#未采用search_guard插件或者X-Pack的 则把httpHost.schema改成空即可 http
httpHost.schema=http
#多节点以,相隔
es.transportclient.port=9300
es.number_of_shards=3
es.number_of_replicas=1
esclient.connectNum=50
esclient.connectPerRoute=10
esclient.connect_timeout_millis=1000
esclient.socket_timeout_millis=30000
esclient.connect_request_timeout_millis=1000

#search_guard未采用这个插件的 则把某项配置value改成空即可
#search_guard配置  (路径的配置同elasticsearch.yml)
search_guard.ssl_transport_keystore_filepath=ca/CN=IP-192.168.0.173-keystore.jks
#keystore and private key password 对应
search_guard.ssl_transport_keystore_private_key_password=4f0d4d725244246ad835
search_guard.ssl_transport_truststore_filepath=ca/truststore.jks
#对应 Truststore password
search_guard.ssl_transport_truststore_password=671790959cae42aee2f7
#search_guard账户名
search_guard.ssl_username=
#search_guard账户密码
search_guard.ssl_password=jeecms

#sgadmin-keystore.jks 节点 的keystore.jks 都可以 ,只要密码对上
#search_guard.ssl_transport_keystore_filepath=ca/CN=sgadmin-keystore.jks 
#search_guard.ssl_transport_keystore_private_key_password=671790959cae42aee2f7
#商品发布索引延迟更新时间(单位秒)
product.lucene.afterSecond=3
product.searchWord.clearSearchCount=10
product.searchWord.clearProductCount=10


redis.defaultExpiration=1800
#redis.cluster.nodes: 192.168.211.134:7000,192.168.211.134:7001,192.168.211.134:7002
#redis.cluster.maxRedirects: 6

# ffmpeg的执行路径
tool.ffmpeg=D:\\ffmpeg\\bin\\ffmpeg.exe

#spring中ThreadPoolConfiguration线程池配置,详细参数数值可参考com.jeecms.common.configuration.ThreadPoolConfiguration
#核心线程数
spring.threadPool.corePoolSize=6
#最大线程数
spring.threadPool.maxPoolSize=6
#队列线程数
spring.threadPool.queneCapacity=99999

#消息模板标识-待处理
message.template.flow.todeal=todealContentTpl
#消息模板标识-已通过
message.template.flow.pass=passContentTpl
#消息模板标识-已驳回
message.template.flow.reject=rejectContentTpl

#百度推送链接提交地址
baidu.linksubmit.address=http://data.zz.baidu.com/urls
baidu.linksubmit.host=data.zz.baidu.com

#SSO认证中心同步数据URL
sso.syncuser.url=http://192.168.0.200:9090/ssoappuser/syncuser
#SSO认证中心URL登录地址
sso.login.url=http://192.168.0.200:9090/login.html
#SSO认证中心URL登录校验
sso.logincheck.url=http://192.168.0.200:9090/sso/logincheck
#SSO认证中心URL登出接口
sso.logout.url=http://192.168.0.200:9090/sso/logout
#SSO认证中心新增修改用户
sso.save.update.url=http://192.168.0.200:9090/ssoappuser
#SSO认证中心删除用户
sso.delete.url=http://192.168.0.200:9090/ssoappuser/del
#SSO认证中心APP修改状态
sso.app.url=http://192.168.0.200:9090/sso/app
#SSO检验应用是否有效
sso.app.valid.url=http://192.168.0.200:9090/sso/valid
#项目版本号
product.version=x1.2.0
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
16#   发表于:2020-05-15 17:43:28  IP:182.28.*.*
您现在的报错信息还是
 version mismatch: library version is '6.5.0.1', db version is 5.99.0.0 Hint: Set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in flowable.cfg.xml for automatic schema creatio
吗?
每天告诉自己一次,“我真的很不错”。
级别: 白丁
UID: 134427
积分:81 加为好友
威望: 1 精华: 0
主题:6 回复:27
注册时间:2020-05-14
在线时长:0
17#   发表于:2020-05-15 17:57:40  IP:111.23.*.*
回复第16楼
我看现在的报错主要是是不有表Table 'jeecms.jc_sys_config' doesn't exist
数据库是要全部清空还是保留哪些?
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
18#   发表于:2020-05-15 18:24:06  IP:182.28.*.*
version mismatch: library version is '6.5.0.1', db version is 5.99.0.0 Hint: Set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in flowable.cfg.xml for automatic schema creatio
这个报错是工作流的升级问题   他只需要开启我之前截图的哪个  生成下库  然后关闭项目的配置后就可以直接跑的  是不会出现您这个jeecms.jc_sys_config表报错的
每天告诉自己一次,“我真的很不错”。
|< < 1 2 共2页