You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by August Detlefsen <au...@yahoo.com> on 2005/03/03 05:06:06 UTC

Only a type can be imported. com.mycompany.InputAttributes resolves to a package

Every once in a while when I am compiling JSPs I get this error: 

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. com.mycompany.InputAttributes resolves to
a package

....


No new imports have been added to the JSP file (only minor text
changes) and the exact same classes were imported correctly in the
previous compilation. The only thing that clears this up is a restart
of tomcat (version 5.5 on Solaris-SPARC). 

Has anyone else seen this behaviour? How can it be stopped? 

Thanks,
August

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org