Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01
Hi, I am getting the following error when I try to access JSP pages. here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] javac: invalid flag: D:\Program [javac] Usage: javac [javac] where possible options include: [javac] -gGenerate 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 Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirsOverride location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options == My application works fine with 4.1.18 and earlier versions. Do I need to do additional configuration with 4.1.21? Thanks, Imran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01
Are there spaces in your catalina_home. or java_home environment variables? That may be messing things up. Larry [EMAIL PROTECTED] 03/05/03 16:38 PM Hi, I am getting the following error when I try to access JSP pages. here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] javac: invalid flag: D:\Program [javac] Usage: javac [javac] where possible options include: [javac] -gGenerate 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 Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirsOverride location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options == My application works fine with 4.1.18 and earlier versions. Do I need to do additional configuration with 4.1.21? Thanks, Imran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01
Hi Larry, Here are my environment variables JAVA_HOME = C:\j2sdk1.4.1 CATALIINA_HOME = D:\Program Files\Apache Group\Tomcat 4.1 Imran -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:43 PM To: [EMAIL PROTECTED] Subject: Re: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01 Are there spaces in your catalina_home. or java_home environment variables? That may be messing things up. Larry [EMAIL PROTECTED] 03/05/03 16:38 PM Hi, I am getting the following error when I try to access JSP pages. here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] javac: invalid flag: D:\Program [javac] Usage: javac [javac] where possible options include: [javac] -gGenerate 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 Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirsOverride location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options == My application works fine with 4.1.18 and earlier versions. Do I need to do additional configuration with 4.1.21? Thanks, Imran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01
the spaces could be a problem, not sure, try to install tomcat into c:\tomcat41 for example also CATALINA_HOME is misspelled, not sure if you saw that. Filip -Original Message- From: Imran Balkhi [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:59 PM To: Tomcat Users List Subject: RE: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01 Hi Larry, Here are my environment variables JAVA_HOME = C:\j2sdk1.4.1 CATALIINA_HOME = D:\Program Files\Apache Group\Tomcat 4.1 Imran -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:43 PM To: [EMAIL PROTECTED] Subject: Re: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01 Are there spaces in your catalina_home. or java_home environment variables? That may be messing things up. Larry [EMAIL PROTECTED] 03/05/03 16:38 PM Hi, I am getting the following error when I try to access JSP pages. here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] javac: invalid flag: D:\Program [javac] Usage: javac [javac] where possible options include: [javac] -gGenerate 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 Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirsOverride location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options == My application works fine with 4.1.18 and earlier versions. Do I need to do additional configuration with 4.1.21? Thanks, Imran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01
Hi Filip, Sorry for the typo in my presious mail. CATALINA_HOME in spelled correctly in my environment. You are right about the spaces. I installed tomcat in d:\test and everything worked fine. What changed in 4.1.21 which is causing this probelm? Earlier versions worked fine for me. Imran -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:56 PM To: Tomcat Users List Subject: RE: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01 the spaces could be a problem, not sure, try to install tomcat into c:\tomcat41 for example also CATALINA_HOME is misspelled, not sure if you saw that. Filip -Original Message- From: Imran Balkhi [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:59 PM To: Tomcat Users List Subject: RE: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01 Hi Larry, Here are my environment variables JAVA_HOME = C:\j2sdk1.4.1 CATALIINA_HOME = D:\Program Files\Apache Group\Tomcat 4.1 Imran -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:43 PM To: [EMAIL PROTECTED] Subject: Re: Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01 Are there spaces in your catalina_home. or java_home environment variables? That may be messing things up. Larry [EMAIL PROTECTED] 03/05/03 16:38 PM Hi, I am getting the following error when I try to access JSP pages. here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] javac: invalid flag: D:\Program [javac] Usage: javac [javac] where possible options include: [javac] -gGenerate 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 Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirsOverride location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options == My application works fine with 4.1.18 and earlier versions. Do I need to do additional configuration with 4.1.21? Thanks, Imran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]