• 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 while compiling with tomcat

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a directory structure

ch03/
registration.jsp
registationform.html
welcome.jsp
WEB-INF/
errorPage.jsp
footer.jsp
web.xml
classes/
ch03
FaqCategories.java
FaqCategories.class
User.java
User.class

While putting it exactly into TOMCAT in the above manner, I get the following error

Jul 20, 2004 4:29:04 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Error compiling file: X:\jakarta-tomcat-5.0.12\work\Catalina\localhost\c
h03\org\apache\jsp\welcome_jsp.java [javac] Compiling 1 source file

X:\jakarta-tomcat-5.0.12\work\Catalina\localhost\ch03\org\apache\jsp\welcome_jsp
.java:90: illegal start of expression
>
^
X:\jakarta-tomcat-5.0.12\work\Catalina\localhost\ch03\org\apache\jsp\welcome_jsp
.java:91: ';' expected
}
^

Where do I start searching for the error??? In the .jsp file or the .java files. I searched for in both places and found nothing. All my files are a max of 50 lines of code, so where the line 91??
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

X:\jakarta-tomcat-5.0.12\work\Catalina\localhost\ch03\org\apache\jsp\welcome_jsp.java:90



I don't see how the above could be any clearer about where to look. It's even giving you the complete path to the file.
[ July 20, 2004: Message edited by: Bear Bibeault ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic