0
私はコンパイルしてlocalhostで展開すると問題なく動作します。私は戦争のファイルを作成し、別のサーバでそれを展開するときしかし、ここで要求されたリソース()は利用できませんtomcat
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>IJPWeb</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
とはcatalina.outに1つのエラー表示されるweb.xmlのエラーここ
HTTP Status 404 - /IJPWeb/index.jsp type Status report message /IJPWeb/index.jsp description The requested resource (/IJPWeb/index.jsp) is not available. Apache Tomcat/6.0.24
をされたポップ
javax.management.MalformedObjectNameException:[email protected]astExceptionのオブジェクト名を作成できません:java.net.Inet4Addressをjava.lang.Stringにキャストすることはできません
私はサーブレットクラスを持っていません。 JSP(index.jsp)からいくつかのJavaメソッドを呼び出します。どのようにこれを修正するための任意のアイデア?
warファイルにindex.jspファイルが含まれていることを確認しましたか?戦争をどうやって作りましたか? –
はい。私がtomcatに戦争を展開すると、すべてのファイルとフォルダが作成されました。すべてがそこにあります – dinesh707
'localhost:8080'を実行してみてください。あなたはTomcat Welcomeページを見ることができますか? –