3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

tomcatエラー

Last updated at Posted at 2018-08-31

tomcatででたエラーメモ

エラー内容

情報: Using a shared selector for servlet write/read [金 8 31 22:33:37 JST 2018]
情報: Initialization processed in 614 ms [金 8 31 22:33:37 JST 2018]
情報: サービス [Catalina] を起動します [金 8 31 22:33:37 JST 2018]
情報: Starting Servlet Engine: Apache Tomcat/8.5.32 [金 8 31 22:33:37 JST 2018]
重大: A child container failed during start [金 8 31 22:33:37 JST 2018]
重大: A child container failed during start [金 8 31 22:33:37 JST 2018]
重大: The required Server component failed to start so Tomcat is unable to start. [金 8 31 22:33:37 JST 2018]
情報: Pausing ProtocolHandler ["http-nio-8080"] [金 8 31 22:33:37 JST 2018]
情報: Pausing ProtocolHandler ["ajp-nio-8009"] [金 8 31 22:33:37 JST 2018]
情報: サービス [Catalina] を停止します [金 8 31 22:33:37 JST 2018]
情報: Destroying ProtocolHandler ["http-nio-8080"] [金 8 31 22:33:37 JST 2018]
情報: Destroying ProtocolHandler ["ajp-nio-8009"] [金 8 31 22:33:37 JST 2018]

今回はこの方法で解決

特定のディレクトリとは、eclipseの[問題]のウィンドウに書いてあるパスを参照して確認し、以下をターミナルから実行
cd /Users/ユーザー/.m2/repository/org/
rm -rf 特定のディレクトリ

削除後にpom.xmlを右クリックして、mavenを更新する

無事tomcatが実行される

 このエラーは大体以下のようなエラーらしい

サーブレットの設定がおかしい(servlet.xml)の<Context docBase="test" path="/test" reloadable="false" source="org.eclipse.jst.jee.server:test"/></Host>を存在するパスに変更する

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?