エラーを下回っています。
FAIL - コンテキスト パス /sampleJSF のアプリケーションを起動できませんでした
ウェルカム ファイルの場所を変更したい。にindex.jsp
ページがありますWEB-INF/pages/index.jsp
。これを実現するために、サーブレット マッピングとウェルカム ファイル リストを変更するにはどうすればよいですか?
これが私のservlet-mapping
とwelcome-file-list
からのものweb.xml
です。
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>WEB-INF/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>WEB-INF/pages/index.jsp</welcome-file>
</welcome-file-list>