You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David van Coevorden <st...@yahoo.com> on 2001/07/09 15:29:23 UTC

Probkem with Example Application

Hi 

As a newbie I am trying to run the example app on
Tomcat 3.2.2.
I can login alright but when trying to edit a
subscription, I get the following error:

org.apache.jasper.JasperException: Unable to compile
class for
JSPC:\j2ee\jakarta-tomcat-3.2.2\work\localhost_8080%2Fstruts-example\_0002fsubscription_0002ejspsubscription_jsp_3.java:103:
Class java.util.ArrayList not found in type
declaration.
                  java.util.ArrayList list = new
java.util.ArrayList();
                           ^
C:\j2ee\jakarta-tomcat-3.2.2\work\localhost_8080%2Fstruts-example\_0002fsubscription_0002ejspsubscription_jsp_3.java:103:
Class java.util.ArrayList not found in type
declaration.
                  java.util.ArrayList list = new
java.util.ArrayList();
                                                      


Does anyone have a clue?? 

Thanks a lot in advance...
David

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: Probkem with Example Application

Posted by Dmitri Colebatch <di...@nuix.com.au>.
What JDK are you running on?  sounds like 1.1 - you'll either need to get 
1.2/1.3 or get the collections.jar (I think thats what its called).

cheers
dim

On Mon,  9 Jul 2001 23:29, David van Coevorden wrote:
> Hi
>
> As a newbie I am trying to run the example app on
> Tomcat 3.2.2.
> I can login alright but when trying to edit a
> subscription, I get the following error:
>
> org.apache.jasper.JasperException: Unable to compile
> class for
> JSPC:\j2ee\jakarta-tomcat-3.2.2\work\localhost_8080%2Fstruts-example\_0002f
>subscription_0002ejspsubscription_jsp_3.java:103: Class java.util.ArrayList
> not found in type
> declaration.
>                   java.util.ArrayList list = new
> java.util.ArrayList();
>                            ^
> C:\j2ee\jakarta-tomcat-3.2.2\work\localhost_8080%2Fstruts-example\_0002fsub
>scription_0002ejspsubscription_jsp_3.java:103: Class java.util.ArrayList not
> found in type
> declaration.
>                   java.util.ArrayList list = new
> java.util.ArrayList();
>
>
>
> Does anyone have a clue??
>
> Thanks a lot in advance...
> David
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/