tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Larose <Justin.Lar...@nexweb.org>
Subject Re: Error: Unable to compile class for JSP
Date Wed, 11 Jan 2012 20:44:47 GMT
markt@apache.org wrote on 01/11/2012 01:19:17 PM:

> From: markt@apache.org
> To: Tomcat Users List <users@tomcat.apache.org>
> Date: 01/11/2012 01:20 PM
> Subject: Re: Error: Unable to compile class for JSP
> 
> Justin Larose <Justin.Larose@nexweb.org> wrote:

> >> > An error occurred at line: 230 in the jsp file: /object_table.jsp
> >> > The type Part is ambiguous
> >> > 227:            {
> >> > 228:         //do nothing here - we don't want the filter to be
> >displayed
> >> > for lifecycles
> >> > 229:     }
> >> > 230:     else if (objType.equals(Part.class))
> >> > 231:     {
> >
> >> Have you imported more than one Part.class by accident, via a
> >wildcard
> >> import perhaps?
> >
> >I did not import any classes.

> You must have at least one import to resolve the class Part. Since 
> I'm pretty sure a class with that name was added in servlet 3, 
> wildcard imports are very likely the problem.

I downgraded the Tomcat to Version 6.0.35 and looks to be working 
correctly now.
Maybe Serena Dimensions cannot work with that higher version of Tomcat 
(version 7.0.23)? 

The only files I copied over from the 6.0 version to the 6.0.35 version 
were the "webapps" directory the web.xml file and the server.xml file.
The only difference in the server.xml file between the 2 versions is this:

<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" 
/>
 <Listener className="org.apache.catalina.core.AprLifecycleListener" 
SSLEngine="on" />


- Thanks, Justin
******************************************************************************
This email and any files transmitted with it are intended solely for 
the use of the individual or agency to whom they are addressed. 
If you have received this email in error please notify the Navy 
Exchange Service Command e-mail administrator. This footnote 
also confirms that this email message has been scanned for the
presence of computer viruses.

Thank You!            
******************************************************************************


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