5
私はWindows 7 64ビットでTomcat 7でEclipse Keplerを使用しています。Eclipse/Tomcatはカスタムタグを忘れていますか?
プロジェクトをクリーンアップしてサーバーを再起動すると、すべて正常に動作します。しかし、私が数分間jspを編集するような作業をすると、Tomcatは次のようなことをします。
ページレイアウト用のタグがありません。他にもエキサイティングなものはありません。一部のjspfには含まれており、コンテンツページには他のタグもあります。しかし、もう一度、エキサイティングな何も...
私は物事がコンパイルし、最初は正常に動作するように私がこれを引き起こしているのを見ることはできません。しかし、Tomcatはタグクラスを追跡していないようです。
私はプロジェクトをきれいにした場合、それはしばらくのために働いへ行く...
任意のアイデア? おかげ
HTTP Status 500 - Unable to compile class for JSP:
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 33 in the jsp file: /folder/page.jsp
org.apache.jsp.tag.weblayout_002dmain_tag cannot be resolved to a type
30:
31:
32:
33: <tags:layout-main>
34: <jsp:attribute name="title">page</jsp:attribute>
35: <jsp:attribute name="section">user</jsp:attribute>
36: <jsp:attribute name="handle">page</jsp:attribute>
An error occurred at line: 33 in the jsp file: /folder/page.jsp
org.apache.jsp.tag.weblayout_002dmain_tag cannot be resolved to a type
30:
31:
32:
33: <tags:layout-main>
34: <jsp:attribute name="title">page</jsp:attribute>
35: <jsp:attribute name="section">user</jsp:attribute>
36: <jsp:attribute name="handle">page</jsp:attribute>
An error occurred at line: 106 in the jsp file: /folder/page.jsp
org.apache.jsp.tag.webrating_tag cannot be resolved to a type
103: <div class="page clearfix">
104: <div class="title">
105: <h3>${page.name}</h3>
106: <br><tags:rating value="${3}"/>
107: <br>${page.type}
108: </div>
109: <div class="hours">
あなたは、コードを変更した後、Tomcatに再発行されていますか? –
自動的にビルドするように設定されています。 TomcatはEclipseでサーバーとして構成されています。私はいつもEclipseが私のためにそれを見据えることを意味すると仮定しました。すべてのファイルを別のTomcatサーバー(ホストされている)にコピーすると、常にうまく動作します。しかし、Eclipseは何とかそれを台無しにしています。 – PrecisionPete
迷子になっているTAGファイルは、アプリ全体に使用されています。それらは基本的にHTMLデザインテンプレートです... – PrecisionPete