Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
Hello, I get a number of similar compilation errors when I try to compile the Servlets that are generated by Tomcat 6 Jsp-PreCompilation. One of them is as follows: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\mobiledoc\WEB-INF\src\org\apache\jsp\index_jsp.java:18:

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Elliot Huntington
An Object is not a List even though a List is an Object. The method you are trying to implement requires a return type of List, not Object. On Fri, Jul 10, 2009 at 9:08 AM, Gaurav Naigaonkar gnaigaon...@gmail.comwrote: Hello, I get a number of similar compilation errors when I try to compile

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
The issue is, I am using ant scripts to Pre-Compile my Jsp's where I use Jasper2 compiler. So the Servlets are generated by Jasper2 and not manually. Hence, I do not control the Jsp's that are generated. Hope this makes the problem clearer. On Fri, Jul 10, 2009 at 11:14 AM, Elliot Huntington

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Konstantin Kolinko
There is an option in JspC that controls with what version of Java the generated sources are compatible with. Try to explicitly specify 1.5 for source and target (compilerSourceVM, compilerTargetVM ). See http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Configuration and the source of

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Mark Thomas
Gaurav Naigaonkar wrote: The issue is, I am using ant scripts to Pre-Compile my Jsp's where I use Jasper2 compiler. So the Servlets are generated by Jasper2 and not manually. Hence, I do not control the Jsp's that are generated. Hope this makes the problem clearer. Tomcat version? Is this a

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
I tried adding these parameters. But still I get the same errors. As far as I understand, these parameters are associated with Jspc compilation. The errors I get are when I try to compile the Servlets that are generated by JspC. So I guess there may not be a problem with JspC compilation but with

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
I am using Tomcat 6.0. There isnt a mismatch in Tomcats here. I have a Ant script that I am running from command line. So I guess Tomcat version should not be an issue. Let me know if what I am assuming is wrong. On Fri, Jul 10, 2009 at 11:23 AM, Mark Thomas ma...@apache.org wrote: Gaurav

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Mark Thomas
Gaurav Naigaonkar wrote: I am using Tomcat 6.0. There are 21 different 6.0.x versions. You need to be precise. There isnt a mismatch in Tomcats here. I have a Ant script that I am running from command line. So I guess Tomcat version should not be an issue. You must be using *exactly* the

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
My Tomcat version is: 6.0.18.0 Also, I am using the same Tomcat versions for pre-compilation and execution. The Ant script that I am using is same as what is available on the Apache Tomcat site: http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Web%20Application%20Compilation So, I am

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Mark Thomas
Gaurav Naigaonkar wrote: My Tomcat version is: 6.0.18.0 Also, I am using the same Tomcat versions for pre-compilation and execution. The Ant script that I am using is same as what is available on the Apache Tomcat site:

RE: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Caldarale, Charles R
From: Gaurav Naigaonkar [mailto:gnaigaon...@gmail.com] Subject: Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent My Tomcat version is: 6.0.18.0 The Ant script that I am using is same as what is available on the Apache Tomcat site: http