You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephen Sklarew <ss...@etensity.com> on 2000/07/08 20:28:19 UTC
I'm stumped
I'm stumped! I have a JSP based app running successfully on two win98
machines with tomcat and mysql connected over JDBC. Currently the apps'
root is located under tomcat/root/tex with the "beans" in
tomcat/root/webinf/classes/tex/*.class. Now I'm trying to get it to work on
win2000 workstation with the same configuration. On the main page
(homepage.jsp), the app uses the tex.Configuration to set application wide
variables using the setProperty tag. In the page, it successfully uses the
getProperty tag to access the Configuration beans' state. Now within the
front page, it includes another .jsp file (textbooklist.jsp). This page
loads up a BookProfile bean in the "page" scope. It then calls a method on
the bean to fill it up with data from the database. Next, it tries to get
the data out of the bean. When calling all getProperties from the
BookProfile bean, I'm getting the following error. I recompiled the class
file and made sure it works on the other systems. The class DOES have the
getBookID method and works successfully elsewhere. Any ideas??? Has anyone
run into problems running tomcat on win2000?
org.apache.jasper.JasperException: Cannot find a method to read property
'bookID' in a bean of type 'tex.BookProfile'
at
org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.
java:623)
at
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
r.java:101)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
spParseEventListener.java:730)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
stener.java:200)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
ventListener.java:169)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:183)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)