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 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 clean build? If you try and compile .java files created by one
> version of Tomcat with a later version you could see this.
>
> Mark
>
> >
> >
> >
> > On Fri, Jul 10, 2009 at 11:14 AM, Elliot Huntington <
> > elliot.hunting...@gmail.com> wrote:
> >
> >> 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.com
> >>> wrote:
> >>> 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:
> >>> getDependants() in org.apache.jsp.index_jsp cannot implement
> >>> getDependants()
> >>> in org.apache.jasper.runtime.JspSourceDependent; attempting to use
> >>> incompatible return type
> >>>
> >>>    [javac] found   : java.lang.Object
> >>>
> >>>    [javac] required: java.util.List
> >>>
> >>>    [javac]   public Object getDependants() {
> >>>
> >>>  I looked up online but couldn’t find any solution to it. Let me know
> if
> >>> someone can help.
> >>>
> >>>
> >>> Thanks,
> >>> --
> >>> Gaurav Naigaonkar
> >>>
> >>
> >>
> >> --
> >> Elliot
> >>
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Gaurav Naigaonkar

Reply via email to