Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

need help for JasperException

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic