tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Naigaonkar <gnaigaon...@gmail.com>
Subject Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent
Date Fri, 10 Jul 2009 15:08:55 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message