• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while compiling with tomcat

 
sharad bhai
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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??
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic