Hi to All !!! I am using tomcat 5.0 and jdk 1.4. tomcat is running properly. But whenever i try to run jsp page it gives the error like:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error: [javac] javac: invalid flag: Files\Apache [javac] Usage: javac <options> <source files> [javac] where possible options include: [javac] -g Generate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source} Generate only some debugging info [javac] -nowarn Generate no warnings [javac] -verbose Output messages about what the compiler is doing [javac] -deprecation Output source locations where deprecated APIs are used [javac] -classpath <path> Specify where to find user class files [javac] -sourcepath <path> Specify where to find input source files [javac] -bootclasspath <path> Override location of bootstrap class files [javac] -extdirs <dirs> Override location of installed extensions [javac] -d <directory> Specify where to place generated class files [javac] -encoding <encoding> Specify character encoding used by source files [javac] -source <release> Provide source compatibility with specified release [javac] -target <release> Generate class files for specific VM version [javac] -help Print a synopsis of standard options
Please help me. I am in trouble. I am not able to go ahead due to this problem. Please............
A really wild guess - you have installed tomcat in a folder containing spaces in its path (maybe C:\Program Files\Apache). Install it in a folder which does not have a space in its path (Ex:C:\Apache\Tomcat)