主题 : 启动tomcat报错
级别: 秀才
UID: 79967
积分:50 加为好友
威望: 0 精华: 0
主题:4 回复:19
注册时间:2015-09-09
在线时长:0
1#   发表于:2021-07-12 15:20:08  IP:139.49.*.*
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/gxl]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2039)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.jeecms.common.configuration.ContextConfig': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:157)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5669)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 10 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.jeecms.common.configuration.ContextConfig': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service 
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
2#   发表于:2021-07-12 15:29:10  IP:59.210.*.*
是启动的源码吗?
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 79967
积分:50 加为好友
威望: 0 精华: 0
主题:4 回复:19
注册时间:2015-09-09
在线时长:0
3#   发表于:2021-07-12 15:54:51  IP:139.49.*.*
是的
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
4#   发表于:2021-07-12 16:01:15  IP:59.210.*.*
您可能使用的是社区版,不支持springboot 需要更换版本,或者您的版本比较老请使用新的非社区版
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 79967
积分:50 加为好友
威望: 0 精华: 0
主题:4 回复:19
注册时间:2015-09-09
在线时长:0
5#   发表于:2021-07-12 16:29:49  IP:139.49.*.*
JEECMSx1.9.0_mysql_src.zip 这个不是最新版本吗?假如不是的话,能不能提供一下新的非社区版的下载地址
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
6#   发表于:2021-07-12 16:35:47  IP:59.210.*.*
JEECMSx1.9.0_mysql_src.zip 这个不是最新版本吗?假如不是的话,能不能提供一下新的非社区版的下载地址
是这个,idea环境问题 
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 79967
积分:50 加为好友
威望: 0 精华: 0
主题:4 回复:19
注册时间:2015-09-09
在线时长:0
7#   发表于:2021-07-12 16:47:39  IP:139.49.*.*
环境有什么问题,我按照你们提供的文档配置了
级别: 秀才
UID: 79967
积分:50 加为好友
威望: 0 精华: 0
主题:4 回复:19
注册时间:2015-09-09
在线时长:0
8#   发表于:2021-07-12 16:48:02  IP:139.49.*.*
是我还有什么需要注意的吗
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
9#   发表于:2021-07-12 16:54:46  IP:59.210.*.*
是我还有什么需要注意的吗
idea版本是非社区版本的,可以换一个版本看下
路漫漫其修远兮,吾将上下而求索!
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
10#   发表于:2021-07-12 20:52:24  IP:183.126.*.*
idea启动还是tomcat部署ROOT??日志清理后重新上传个启动的日志
路漫漫其修远兮,吾将上下而求索!
1 共1页