tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cos...@eng.sun.com>
Subject Re: Tomcat J2EE Adapter ERROR
Date Thu, 27 Jul 2000 19:12:26 GMT
Kevin Stover wrote:

> When compiling I receive the following error
>
> class org.apache.tomcat.j2ee.TomcatJ2EEAdapter cannot override the method of
> the same signature declared in class com.sun.web.server.WebService.  They
> must have the same return type.
>
> The tomcat function declaration is
>
> public  ServletContext addContext( String , URL )
>
> Suns declaration of this function is
>
> public Context addContext ( String, URL )
>
> Is there a fix available?
> If you do not get this error what version of J2EE are you running?

You need few small fixes in J2EE.

J2EE includes tomcat 3.0, and it has some hard-coded references.

Costin


Mime
View raw message