1
0

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 1 year has passed since last update.

Tomcatにて外部参照を行っている場合にweb.xmlの解析エラーが発生する

Posted at

Tomcatにて下記のようなエラーが発生している場合、
web.xmlで外部参照を利用している可能性があります。

java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [null], system ID (後略)

この場合web.xmlで外部参照を利用している可能性があります。
詳しくは下記ページをご覧ください。

ただ閉じた環境で利用するので別に外部参照してもいいよって場合、

context.xmlを以下のように書き換えます。

<Context>
<Context xmlBlockExternal="false">
1
0
1

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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?