前提・実現したいこと
tomcat404エラーについてご教授願います。
発生している問題・エラーメッセージ
エラーメッセージ 404エラー (コンソールにて、) 重大: Begin event threw exception [土 5 19 09:32:09 JST 2018] 重大: Parse error in context.xml for /union_web_kensyu [土 5 19 09:32:09 JST 2018] 重大: 2行の126列目で発生しました [土 5 19 09:32:09 JST 2018] 重大: 前のエラーのためにこのアプリケーションは利用できないようにマークします [土 5 19 09:32:09 JST 2018] 重大: One or more components marked the context as not correctly configured [土 5 19 09:32:09 JST 2018] 重大: 以前のエラーのためにコンテキストの起動が失敗しました [/union_web_kensyu] [土 5 19 09:32:09 JST 2018] ```ここに言語名を入力 java,js,jsp ### 現在状況 新人プログラマーです。会社での研修で、事前に準備された既存のWebアプリに新たに検索ページを追加する研修を行っております。一昨日までは、'localhost8080'で本ページ(既存のアプリ)までアクセスすることができましたが、その後追加したページにアクセスしようとすると'404エラー'が出てしまう。という現象が起きており、作成したファイルの配置場所を変えるなど、試行錯誤しておりましたが、解決できませんでした。そして昨日'localhost8080'で本ページにもアクセスしようとすると404エラーが発生するようになりました。一昨日は自分が追加したファイルのソース確認や、tomcatホームディレクトリのconf内のxmlファイルを眺める程度で終わりました。 いったい何が原因なのでしょうか? 会社が小さい会社であり、エラーに詳しい方が会社におらず、自己解決しなければならない状況です。必要な情報がありましたらすぐ返信しますので、宜しくお願い致します。 ### 補足情報(FW/ツールのバージョンなど) eclipseバージョン Mars.2 Release (4.5.2) tomcatバージョン Apache Tomcat/8.0.32 ### context.xml ```ここに言語を入力 <?xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- The contents of this file will be loaded for each web application --> <Context> <!-- Default set of monitored resources. If one of these changes, the --> <!-- web application will be reloaded. --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> --> <!-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) --> <!-- <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> --> </Context>

回答4件
あなたの回答
tips
プレビュー