第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

springboot2.1 引入spring-boot-starter-web時啟動報錯

springboot2.1 引入spring-boot-starter-web時啟動報錯

qq_沉穩(wěn)_3 2019-01-21 22:53:16
idea生成的springboot項目,當pom文件引入spring-boot-starter-web時 啟動報錯java.util.concurrent.ExecutionException:?org.apache.catalina.LifecycleException:?Failed?to?start?component?[NonLoginAuthenticator[StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]] at?java.util.concurrent.FutureTask.report(FutureTask.java:122)?[na:1.8.0_191] at?java.util.concurrent.FutureTask.get(FutureTask.java:192)?[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)?[na:1.8.0_191] at?java.util.concurrent.FutureTask.run(FutureTask.java)?[na:1.8.0_191] at?org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)?[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.startup.Tomcat.start(Tomcat.java:398)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:106)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:415)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:174)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:181)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:154)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:540)?[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE] at?org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.run(SpringApplication.java:316)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?com.example.demo.DemoApplication.main(DemoApplication.java:10)?[classes/:na]Caused?by:?org.apache.catalina.LifecycleException:?Failed?to?start?component?[NonLoginAuthenticator[StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]] at?org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:181)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5041)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)?[na:1.8.0_191] at?java.util.concurrent.FutureTask.run(FutureTask.java)?[na:1.8.0_191] at?org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)?[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)?[tomcat-embed-core-9.0.14.jar:9.0.14] ...?30?common?frames?omittedCaused?by:?java.lang.NoSuchMethodError:?javax.servlet.ServletContext.getVirtualServerName()Ljava/lang/String; at?org.apache.catalina.authenticator.AuthenticatorBase.startInternal(AuthenticatorBase.java:1178)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] ...?41?common?frames?omitted2019-01-21?22:19:30.303?ERROR?30556?---?[???????????main]?org.apache.catalina.core.ContainerBase???:?A?child?container?failed?during?startjava.util.concurrent.ExecutionException:?org.apache.catalina.LifecycleException:?A?child?container?failed?during?start at?java.util.concurrent.FutureTask.report(FutureTask.java:122)?~[na:1.8.0_191] at?java.util.concurrent.FutureTask.get(FutureTask.java:192)?~[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.startup.Tomcat.start(Tomcat.java:398)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:106)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:415)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:174)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:181)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:154)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:540)?[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE] at?org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.run(SpringApplication.java:316)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)?[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE] at?com.example.demo.DemoApplication.main(DemoApplication.java:10)?[classes/:na]Caused?by:?org.apache.catalina.LifecycleException:?A?child?container?failed?during?start at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:926)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)?~[na:1.8.0_191] at?java.util.concurrent.FutureTask.run(FutureTask.java)?~[na:1.8.0_191] at?org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)?~[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)?~[tomcat-embed-core-9.0.14.jar:9.0.14] ...?21?common?frames?omittedCaused?by:?java.util.concurrent.ExecutionException:?org.apache.catalina.LifecycleException:?Failed?to?start?component?[NonLoginAuthenticator[StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]] at?java.util.concurrent.FutureTask.report(FutureTask.java:122)?~[na:1.8.0_191] at?java.util.concurrent.FutureTask.get(FutureTask.java:192)?~[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)?~[tomcat-embed-core-9.0.14.jar:9.0.14] ...?30?common?frames?omittedCaused?by:?org.apache.catalina.LifecycleException:?Failed?to?start?component?[NonLoginAuthenticator[StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]] at?org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:181)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5041)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)?~[na:1.8.0_191] at?java.util.concurrent.FutureTask.run(FutureTask.java)?~[na:1.8.0_191] at?org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)?~[na:1.8.0_191] at?org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)?~[tomcat-embed-core-9.0.14.jar:9.0.14] ...?30?common?frames?omittedCaused?by:?java.lang.NoSuchMethodError:?javax.servlet.ServletContext.getVirtualServerName()Ljava/lang/String; at?org.apache.catalina.authenticator.AuthenticatorBase.startInternal(AuthenticatorBase.java:1178)?~[tomcat-embed-core-9.0.14.jar:9.0.14] at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)?[tomcat-embed-core-9.0.14.jar:9.0.14] ...?41?common?frames?omittedDisconnected?from?the?target?VM,?address:?'127.0.0.1:57321',?transport:?'socket'2019-01-21?22:19:30.321??INFO?30556?---?[???????????main]?o.apache.catalina.core.StandardService???:?Stopping?service?[Tomcat]2019-01-21?22:19:30.322??WARN?30556?---?[???????????main]?ConfigServletWebServerApplicationContext?:?Exception?encountered?during?context?initialization?-?cancelling?refresh?attempt:?org.springframework.context.ApplicationContextException:?Unable?to?start?web?server;?nested?exception?is?org.springframework.boot.web.server.WebServerException:?Unable?to?start?embedded?Tomcat2019-01-21?22:19:30.322??INFO?30556?---?[???????????main]?ConditionEvaluationReportLoggingListener?:?Error?starting?ApplicationContext.?To?display?the?conditions?report?re-run?your?application?with?'debug'?enabled.2019-01-21?22:19:30.333?ERROR?30556?---?[???????????main]?o.s.b.d.LoggingFailureAnalysisReporter???:?***************************APPLICATION?FAILED?TO?START***************************Description:An?attempt?was?made?to?call?the?method?javax.servlet.ServletContext.getVirtualServerName()Ljava/lang/String;?but?it?does?not?exist.?Its?class,?javax.servlet.ServletContext,?is?available?from?the?following?locations:????jar:file:/C:/Program%20Files%20(x86)/JAVA/JDK/jre/lib/ext/servlet-api.jar!/javax/servlet/ServletContext.class????jar:file:/C:/Mavn/maven-repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.14/tomcat-embed-core-9.0.14.jar!/javax/servlet/ServletContext.classIt?was?loaded?from?the?following?location:????file:/C:/Program%20Files%20(x86)/JAVA/JDK/jre/lib/ext/servlet-api.jarAction:Correct?the?classpath?of?your?application?so?that?it?contains?a?single,?compatible?version?of?javax.servlet.ServletContextProcess?finished?with?exit?code?1截圖為:跪求大佬?。。?
查看完整描述

6 回答

?
慕移動0053870

TA貢獻1條經驗 獲得超0個贊

ytyttyty

查看完整回答
反對 回復 2021-03-09
?
慕少4599269

TA貢獻4條經驗 獲得超0個贊

天試了一下在別的電腦上啟動這個項目,然后就能起來

查看完整回答
反對 回復 2020-10-10
?
Java架構師講師團

TA貢獻1條經驗 獲得超0個贊

查看完整回答
反對 回復 2019-11-22
?
qq_沉穩(wěn)_3

TA貢獻1條經驗 獲得超0個贊

已經結局了 ?。。dk的事兒。。把jdk里面的 servlet-api.jar 刪了就好了 。。。三天了終于解決了!??!哈哈哈哈哈哈

查看完整回答
反對 回復 2019-01-24
?
慕小白sky

TA貢獻3條經驗 獲得超1個贊

如果IDEA用的是社區(qū)版,安裝一下這個插件

https://img1.sycdn.imooc.com//5c46e6270001bd9213450845.jpg

查看完整回答
反對 回復 2019-01-22
  • qq_沉穩(wěn)_3
    qq_沉穩(wěn)_3
    老哥。我今天試了一下在別的電腦上啟動這個項目,然后就能起來,相同的idea版本(旗艦版的),相同的jdk,就我電腦上起不來。。。都開始懷疑這臺電腦了
?
慕小白sky

TA貢獻3條經驗 獲得超1個贊

建議初學者還是先使用旗艦版的IDEA,畢竟運行起來是關鍵。如果堅持使用社區(qū)版的,可以使用下面的方法。

  1. 先在IDEA中配置自己的tomcat:

2.引入tomcat依賴步驟:

https://img1.sycdn.imooc.com//5c46816c00018afa13720864.jpghttps://img1.sycdn.imooc.com//5c4681b10001f88012800845.jpghttps://img1.sycdn.imooc.com//5c4681d50001284f14880847.jpg

https://img1.sycdn.imooc.com//5c4681f40001b2e906670623.jpg

查看完整回答
反對 回復 2019-01-22
  • 6 回答
  • 1 關注
  • 23439 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號