Sounds like you need to set your classpath to include the .jar files in
jetspeed's lib directory. This directory includes the ecs.jar as well as
other necessary .jar files.

Steve B.


----- Original Message -----
From: "Patel, Satish" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 02, 2002 12:35 PM
Subject: problem installing HellowWorldPortlet


> Hello folks,
>
> I am a newbie with Jetspeed.  I have successfully installed Jetspeed
1.3a2,
> and trying to create this new portlet for my portal.  I tried to follow
> direction of creating the simple portlet of "Hello World", but can't
compile
> the HelloWorldPortlet.java it gives error saying that "package
> org.apache.ecs doesn't exist" also "Can't resolve symbol AbstractPortlet
or
> Rundata...any help would be great.  My code of HelloWorldPortlet.java is
as
> follows:
>
> import org.apache.jetspeed.portal.portlets.AbstractPortlet;
> import org.apache.turbine.util.RunData;
> import org.apache.ecs.*;
> public class HelloWorldPortlet extends AbstractPortlet {
> publicConcreteElement getContent (RunData aRunData) { return (new
> StringElement ("Hello World!!")); }
>  }
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to