开发者社区> 问答> 正文

[@倚贤][¥20]springboot项目启动执行到图案位置就无法执行下去

aaron_chen 2018-12-11 16:32:11 671

这个错误在本人两个环境产生两种不同效果。就是同一个springboot项目在idea启动下只执行到图案:
. _
/\ / ' _(_) _ \
( ( )__ | ' | '_| | '_ / _` | \
\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.3.RELEASE)
这个位置的时候就不执行了。
首先在我的本机环境下无报错,如图:
image
首先是这个报错:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
这个我也根据http://www.slf4j.org/codes.html#StaticLoggerBinder里面的提示添加了slf4j相关的包,也没办法消除这个,但奇怪的是虽然执行到图案那个位置不再执行下去,这并不影响服务的启动,也就是说服务还是跑起来了,我也能正常访问接口:
image
这个项目是本人公司里面其他同事搭建的一个springboot项目,在别人电脑是能正常跑通的;
贴上这个项目的pom文件:
image
image
image
image
image
在贴一个我自己新建的springboot的demo项目的运行图:
image
这下就只有图案了,不过一样也能正常访问服务的接口;
demo项目的pom文件:
image

然后同样的项目,在我的服务器的系统上,运行起来是报错的,如下:

"C:Program FilesJavajdk1.8.0_111binjava.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=49384 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:C:Program FilesJetBrainsIntelliJ IDEA 2018.2.6libidea_rt.jar=49385:C:Program FilesJetBrainsIntelliJ IDEA 2018.2.6bin" -Dfile.encoding=UTF-8 -classpath "C:Program FilesJavajdk1.8.0_111jrelibcharsets.jar;C:Program FilesJavajdk1.8.0_111jrelibdeploy.jar;C:Program FilesJavajdk1.8.0_111jrelibextaccess-bridge-64.jar;C:Program FilesJavajdk1.8.0_111jrelibextcldrdata.jar;C:Program FilesJavajdk1.8.0_111jrelibextdnsns.jar;C:Program FilesJavajdk1.8.0_111jrelibextjaccess.jar;C:Program FilesJavajdk1.8.0_111jrelibextjfxrt.jar;C:Program FilesJavajdk1.8.0_111jrelibextlocaledata.jar;C:Program FilesJavajdk1.8.0_111jrelibextnashorn.jar;C:Program FilesJavajdk1.8.0_111jrelibextservlet-api.jar;C:Program FilesJavajdk1.8.0_111jrelibextslf4j-api-1.7.7.jar;C:Program FilesJavajdk1.8.0_111jrelibextsunec.jar;C:Program FilesJavajdk1.8.0_111jrelibextsunjce_provider.jar;C:Program FilesJavajdk1.8.0_111jrelibextsunmscapi.jar;C:Program FilesJavajdk1.8.0_111jrelibextsunpkcs11.jar;C:Program FilesJavajdk1.8.0_111jrelibextzipfs.jar;C:Program FilesJavajdk1.8.0_111jrelibjavaws.jar;C:Program FilesJavajdk1.8.0_111jrelibjce.jar;C:Program FilesJavajdk1.8.0_111jrelibjfr.jar;C:Program FilesJavajdk1.8.0_111jrelibjfxswt.jar;C:Program FilesJavajdk1.8.0_111jrelibjsse.jar;C:Program FilesJavajdk1.8.0_111jrelibmanagement-agent.jar;C:Program FilesJavajdk1.8.0_111jrelibplugin.jar;C:Program FilesJavajdk1.8.0_111jrelibresources.jar;C:Program FilesJavajdk1.8.0_111jrelibrt.jar;C:UsersAdministratorDesktopideaprojectwiicoptargetclasses;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-data-redis1.5.3.RELEASEspring-boot-starter-data-redis-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter1.5.3.RELEASEspring-boot-starter-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot1.5.3.RELEASEspring-boot-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-logging1.5.3.RELEASEspring-boot-starter-logging-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositorychqoslogbacklogback-classic1.1.11logback-classic-1.1.11.jar;C:UsersAdministrator.m2repositorychqoslogbacklogback-core1.1.11logback-core-1.1.11.jar;C:UsersAdministrator.m2repositoryorgslf4jjul-to-slf4j1.7.25jul-to-slf4j-1.7.25.jar;C:UsersAdministrator.m2repositoryorgslf4jlog4j-over-slf4j1.7.25log4j-over-slf4j-1.7.25.jar;C:UsersAdministrator.m2repositoryorgyamlsnakeyaml1.17snakeyaml-1.17.jar;C:UsersAdministrator.m2repositoryorgspringframeworkdataspring-data-redis1.8.3.RELEASEspring-data-redis-1.8.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkdataspring-data-keyvalue1.2.3.RELEASEspring-data-keyvalue-1.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkdataspring-data-commons1.13.3.RELEASEspring-data-commons-1.13.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-tx4.3.8.RELEASEspring-tx-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-oxm4.3.8.RELEASEspring-oxm-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-aop4.3.8.RELEASEspring-aop-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgslf4jjcl-over-slf4j1.7.25jcl-over-slf4j-1.7.25.jar;C:UsersAdministrator.m2repositoryredisclientsjedis2.9.0jedis-2.9.0.jar;C:UsersAdministrator.m2repositoryorgapachecommonscommons-pool22.4.2commons-pool2-2.4.2.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-cache1.5.3.RELEASEspring-boot-starter-cache-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-context4.3.8.RELEASEspring-context-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-beans4.3.8.RELEASEspring-beans-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-expression4.3.8.RELEASEspring-expression-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-context-support4.3.8.RELEASEspring-context-support-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-configuration-processor1.5.3.RELEASEspring-boot-configuration-processor-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositorycomvaadinexternalgoogleandroid-json0.0.20131108.vaadin1android-json-0.0.20131108.vaadin1.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-websocket1.5.3.RELEASEspring-boot-starter-websocket-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-web1.5.3.RELEASEspring-boot-starter-web-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-tomcat1.5.3.RELEASEspring-boot-starter-tomcat-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgapachetomcatembedtomcat-embed-core8.5.14tomcat-embed-core-8.5.14.jar;C:UsersAdministrator.m2repositoryorgapachetomcatembedtomcat-embed-el8.5.14tomcat-embed-el-8.5.14.jar;C:UsersAdministrator.m2repositoryorgapachetomcatembedtomcat-embed-websocket8.5.14tomcat-embed-websocket-8.5.14.jar;C:UsersAdministrator.m2repositoryorghibernatehibernate-validator5.3.5.Finalhibernate-validator-5.3.5.Final.jar;C:UsersAdministrator.m2repositoryjavaxvalidationvalidation-api1.1.0.Finalvalidation-api-1.1.0.Final.jar;C:UsersAdministrator.m2repositoryorgjbossloggingjboss-logging3.3.1.Finaljboss-logging-3.3.1.Final.jar;C:UsersAdministrator.m2repositorycomfasterxmlclassmate1.3.3classmate-1.3.3.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksoncorejackson-databind2.8.8jackson-databind-2.8.8.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksoncorejackson-annotations2.8.0jackson-annotations-2.8.0.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksoncorejackson-core2.8.8jackson-core-2.8.8.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-web4.3.8.RELEASEspring-web-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-webmvc4.3.8.RELEASEspring-webmvc-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-messaging4.3.8.RELEASEspring-messaging-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-websocket4.3.8.RELEASEspring-websocket-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgmybatisspringbootmybatis-spring-boot-starter1.2.0mybatis-spring-boot-starter-1.2.0.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-jdbc1.5.3.RELEASEspring-boot-starter-jdbc-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgapachetomcattomcat-jdbc8.5.14tomcat-jdbc-8.5.14.jar;C:UsersAdministrator.m2repositoryorgapachetomcattomcat-juli8.5.14tomcat-juli-8.5.14.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-jdbc4.3.8.RELEASEspring-jdbc-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgmybatisspringbootmybatis-spring-boot-autoconfigure1.2.0mybatis-spring-boot-autoconfigure-1.2.0.jar;C:UsersAdministrator.m2repositoryorgmybatismybatis3.4.2mybatis-3.4.2.jar;C:UsersAdministrator.m2repositoryorgmybatismybatis-spring1.3.1mybatis-spring-1.3.1.jar;C:UsersAdministrator.m2repositorymysqlmysql-connector-java5.1.41mysql-connector-java-5.1.41.jar;C:UsersAdministrator.m2repositorycomgithubpagehelperpagehelper4.1.6pagehelper-4.1.6.jar;C:UsersAdministrator.m2repositorycomgithubjsqlparserjsqlparser0.9.5jsqlparser-0.9.5.jar;C:UsersAdministrator.m2repositorycomalibabadruid1.0.18druid-1.0.18.jar;C:Program FilesJavajdk1.8.0_111libjconsole.jar;C:Program FilesJavajdk1.8.0_111libtools.jar;C:UsersAdministrator.m2repositoryorgapachecommonscommons-lang33.4commons-lang3-3.4.jar;C:UsersAdministrator.m2repositorycommons-codeccommons-codec1.10commons-codec-1.10.jar;C:UsersAdministrator.m2repositoryorgbouncycastlebcprov-jdk15on1.57bcprov-jdk15on-1.57.jar;C:UsersAdministrator.m2repositorynetdongliurequests4.9.0requests-4.9.0.jar;C:UsersAdministrator.m2repositorycomalibabafastjson1.2.31fastjson-1.2.31.jar;C:UsersAdministrator.m2repositorycomgooglezxingcore3.3.0core-3.3.0.jar;C:UsersAdministrator.m2repositorynetjodahexpiringmap0.5.8expiringmap-0.5.8.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-test1.5.1.RELEASEspring-boot-starter-test-1.5.1.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-test1.5.3.RELEASEspring-boot-test-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-test-autoconfigure1.5.3.RELEASEspring-boot-test-autoconfigure-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositorycomjaywayjsonpathjson-path2.2.0json-path-2.2.0.jar;C:UsersAdministrator.m2repositorynetminidevjson-smart2.2.1json-smart-2.2.1.jar;C:UsersAdministrator.m2repositorynetminidevaccessors-smart1.1accessors-smart-1.1.jar;C:UsersAdministrator.m2repositoryorgow2asmasm5.0.3asm-5.0.3.jar;C:UsersAdministrator.m2repositoryorgassertjassertj-core2.6.0assertj-core-2.6.0.jar;C:UsersAdministrator.m2repositoryorgmockitomockito-core1.10.19mockito-core-1.10.19.jar;C:UsersAdministrator.m2repositoryorgobjenesisobjenesis2.1objenesis-2.1.jar;C:UsersAdministrator.m2repositoryorghamcresthamcrest-core1.3hamcrest-core-1.3.jar;C:UsersAdministrator.m2repositoryorghamcresthamcrest-library1.3hamcrest-library-1.3.jar;C:UsersAdministrator.m2repositoryorgskyscreamerjsonassert1.4.0jsonassert-1.4.0.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-core4.3.8.RELEASEspring-core-4.3.8.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-test4.3.6.RELEASEspring-test-4.3.6.RELEASE.jar;C:UsersAdministrator.m2repositoryjunitjunit4.12junit-4.12.jar;C:UsersAdministrator.m2repositorycombaomidoumybatisplus-spring-boot-starter1.0.5mybatisplus-spring-boot-starter-1.0.5.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-autoconfigure1.5.3.RELEASEspring-boot-autoconfigure-1.5.3.RELEASE.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus2.1.8mybatis-plus-2.1.8.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-support2.1.8mybatis-plus-support-2.1.8.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-core2.1.8mybatis-plus-core-2.1.8.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-generate2.1.8mybatis-plus-generate-2.1.8.jar;C:UsersAdministrator.m2repositoryorgapachevelocityvelocity-engine-core2.0velocity-engine-core-2.0.jar;C:UsersAdministrator.m2repositoryorgslf4jslf4j-api1.7.25slf4j-api-1.7.25.jar" com.dabby.WiicopApplication
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
14:01:04,448 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
14:01:04,449 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
14:01:04,449 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/C:/Users/Administrator/Desktop/ideaproject/wiicop/target/classes/logback.xml]
14:01:04,613 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
14:01:04,615 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word line with class [com.dabby.wiicop.logs.LineConverter]
14:01:04,626 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@6:83 - no applicable action for [springProperty], current ElementPath is [configuration]
14:01:04,633 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
14:01:04,640 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
14:01:04,645 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:01:04,728 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
14:01:04,732 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
14:01:04,757 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1772160903 - No compression will be used
14:01:04,760 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1772160903 - Will use the pattern test.lj_IS_UNDEFINEDnontaxbank-%d{yyyy-MM-dd}.log_%i for the active file
14:01:04,766 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@2d127a61 - The date pattern is 'yyyy-MM-dd' from file name pattern 'test.lj_IS_UNDEFINEDnontaxbank-%d{yyyy-MM-dd}.log_%i'.
14:01:04,766 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@2d127a61 - Roll-over at midnight.
14:01:04,774 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@2d127a61 - Setting initial period to Mon Aug 20 09:40:43 CST 2018
14:01:04,775 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@2d127a61 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
14:01:04,775 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@2d127a61 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
14:01:04,777 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:01:04,782 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: LOG_HOME_IS_UNDEFINEDtest1.log
14:01:04,782 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [LOG_HOME_IS_UNDEFINEDtest1.log]
14:01:04,786 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
14:01:04,787 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
14:01:04,788 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
14:01:04,788 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
14:01:04,789 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2bbaf4f0 - Registering current configuration as safe fallback point

. _
/\ / ' _(_) _ \
( ( )__ | ' | '_| | '_ / _` | \
\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.3.RELEASE)

Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:536)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)
at com.dabby.WiicopApplication.main(WiicopApplication.java:21)

Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:123)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:84)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:554)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:179)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)
... 8 more

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:344)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:99)
... 13 more

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 15 more

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 17 more

Caused by: org.apache.catalina.LifecycleException: A child container failed during start

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 19 more

Process finished with exit code 1

然后我的demo项目是执行到图案位置就中断,也不报错:
image

为了解决这个问题,我idea卸载了又重装,maven卸载了又重装,还是没能解决。也看了网上很多种解决方案,都没能成功解决。可能描述有点长,麻烦了!!!多谢

分享到
取消 提交回答
全部回答(1)

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题