• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem faced in Tomcat 4.0.4

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI ALl
I am working on an application ported in Tomcat. This works fine in JRun 3.1.
Bu I am getting the following error in Tomcat 4.04 ..
org.apache.jasper.JasperException: Unable to compile class for JSP
E:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\testapp\accounts\Test$jsp.java:16: Class or interface declaration expected.
import javax.servlet.*;
^
E:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\testapp\accounts\Test$jsp.java:22: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.Test$jsp not found.
public class Test$jsp extends HttpJspBase {

Can someone tell me where things are going wrong?
Thanks in advance..
-Siddharth
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
did you check the installation of tomcat before you installed you code? also, have you got alittle more code than you've shown? I've found that JRun moves things around such that an expanded war file wont run on other compliant servers but in my case it was because it was saving web.xml in an incorrect format etc not any messing with the class files.
 
Your mother is a hamster and your father smells of tiny ads!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic