Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help for JasperException

 
Mary Mai
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I try to run the iteration.war examples from sun tag Library tutotial, http://java.sun.com/products/jsp/tutorial/TagLibraries15.html, the following problem occurs. Would some one can explain it?

Error: 500
Location: /iteration/list.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile C:\jakarta-tomcat-3.3.1\work\DEFAULT\iteration\list_1.java:156: No variable apache defined in class Organization.
out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "name")));
^
C:\jakarta-tomcat-3.3.1\work\DEFAULT\iteration\list_1.java:163: No variable apache defined in class Organization.
out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "phone")));
^
C:\jakarta-tomcat-3.3.1\work\DEFAULT\iteration\list_1.java:170: No variable apache defined in class Organization.
out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "email")));
^
3 errors
at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:484)
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to run the iteration.war examples from sun tag Library tutotial, http://java.sun.com/products/jsp/tutorial/TagLibraries15.html, the following problem occurs. Would some one can explain it?
The URL you gave here gives a 404, Page Not Found, error.
I would verify which version of Tomcat is needed for this tutorial. Esp. since Tag libs has changed quite a bit.
Secondly, do the JSP examples run corectly on your Tomcat installation?
regds.
- madhav
 
Mary Mai
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi madhav,
Thank you for your replay. The URL should be
http://java.sun.com/products/jsp/tutorial/TagLibraries15.html
It dosn't say anything about server reqirement in the tutorial. Since there is a mention about Tomcat 3.2, so I guess Tomcat 3.3.1 will be fine. Is that true?
Secondly, I run another example called template.war from same tutorial and it works.Is that you mean "run corectly on your Tomcat installation"? Thanks.
Mary
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic