aspose file tools*
The moose likes JSP and the fly likes Problem while compiling with tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem while compiling with tomcat" Watch "Problem while compiling with tomcat" New topic
Author

Problem while compiling with tomcat

sharad bhai
Greenhorn

Joined: Jun 25, 2004
Posts: 5
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

Joined: Jan 10, 2002
Posts: 61224
    
  66

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem while compiling with tomcat