Tomcat JSP compilation errors
tbauer Jan 15, 2004 10:12 AMI keep getting JSP compilation errors that make absolutely NO sense.
After restarting my application all works fine except once in a while
the jsp compile will complain with the error below stating "No method named"
which is total crap. Then I will shutdown the application and restart it
and the offending jsp will work again...
I'm using JBoss 3.2.2 with TOMCAT
java 1.4.1
Mac OS X 10.2.3
07:27:40,757 INFO [Engine] Error compiling file:
/Applications/jboss-3.2.3/server/default/work/MainEngine/localhost/_/jsp
/viewInvoiceDetailInfo_jsp.java [javac] Since compiler setting isn't
classic or modern,ignoring fork setting.
[javac] Compiling 1 source file
[javac] Since compiler setting isn't classic or modern,ignoring fork
setting.
[javac] Issued 13 system warnings:
[javac] *** Semantic Warning: The file
"/Applications/jboss-3.2.3/server/default/tmp/deploy/
tmp31384sqlexception-service.xml" is not a valid directory.
[javac] Found 2 semantic errors compiling
"/Applications/jboss-3.2.3/server/default/work/MainEngine/localhost/_/
jsp/viewInvoiceDetailInfo_jsp.java":
[javac] 152. String invoiceDiscountNotes =
InvoiceModel.getInvoiceDiscountNote();
[javac]
^-----------------------------------^
[javac] *** Semantic Error: No method named "getInvoiceDiscountNote"
was found in type "com.icshealth.model.InvoiceModel". However, there is
an accessible method "getInvoiceDiscounts" whose name closely matches
the name "getInvoiceDiscountNote".
[javac] 153. String invoiceLateFeeNotes =
InvoiceModel.getInvoiceLateFeeNote();
[javac]
^----------------------------------^
[javac] *** Semantic Error: No method named "getInvoiceLateFeeNote"
was found in type "com.icshealth.model.InvoiceModel".
My /conf/web.xml is:
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>development</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>reloading</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>compiler</param-name>
<param-value>jikes</param-value>
</init-param>
<init-param>
<param-name>javaEncoding</param-name>
<param-value>ISO-8859-1</param-value>
</init-param>
<init-param>
<param-name>keepgenerated</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<load-on-startup>3</load-on-startup>