org.apache.jetspeed.portal.portlets.* is located in jetspeed.jar
In your webapp, you need jetspeed.jar in WEB-INF/lib, 
along with the various jars used by jetspeed (quite a lot...)

Are the errors you get displayed in the jetspeed.log file ?

Note : 
Jetspeed is delivered as a war (jetspeed.war)
that you only need to put in your $TOMCAT/webapps.
Did you manage to access the default jetspeed home page ?

-----Message d'origine-----
De : Vi [mailto:[EMAIL PROTECTED]
Envoy� : lundi 22 mars 2004 11:15
� : Tomcat Users List
Objet : Re: Jetspeed classpath?


Sorry, here they are:
HelloWorldPortlet.java:5: package org.apache.jetspeed.portal.portlets 
does not exist
import org.apache.jetspeed.portal.portlets.AbstractInstancePortlet;
                                           ^
HelloWorldPortlet.java:9: package org.apache.ecs does not exist
import org.apache.ecs.ConcreteElement;
                      ^
HelloWorldPortlet.java:11: package org.apache.ecs does not exist
import org.apache.ecs.StringElement;
                      ^
HelloWorldPortlet.java:15: cannot find symbol
symbol: class AbstractInstancePortlet
public class HelloWorldPortlet extends AbstractInstancePortlet
                                       ^
HelloWorldPortlet.java:19: cannot find symbol
symbol  : class ConcreteElement
location: class com.bluesunrise.jportal.portal.portlets.HelloWorldPortlet
    public ConcreteElement getContent (RunData runData)
           ^
HelloWorldPortlet.java:23: cannot find symbol
symbol  : class StringElement
location: class com.bluesunrise.jportal.portal.portlets.HelloWorldPortlet
        return (new StringElement ("Hello World! #" + getID()));
                    ^
HelloWorldPortlet.java:23: cannot find symbol
symbol  : method getID()
location: class com.bluesunrise.jportal.portal.portlets.HelloWorldPortlet
        return (new StringElement ("Hello World! #" + getID()));
                                                      ^
7 errors

STOCKHOLM, Raymond wrote:

>>can't find blah
>>    
>>
>Can you be more specific?
>
>-----Message d'origine-----
>De : Vi [mailto:[EMAIL PROTECTED]
>Envoy� : lundi 22 mars 2004 11:03
>� : Tomcat Users List
>Objet : Re: Jetspeed classpath?
>
>
>:)) Yes, I have jdk
>Errors are like, can't find blah, and so on
>STOCKHOLM, Raymond wrote:
>
>  
>
>>You need the JDK (not just the JRE) to compile your jsp/portlets.
>>
>>What errors do you get ?
>>
>>-----Message d'origine-----
>>De : Vi [mailto:[EMAIL PROTECTED]
>>Envoy� : lundi 22 mars 2004 10:58
>>� : Tomcat Users List
>>Objet : Jetspeed classpath?
>>
>>
>>Hello, I have tomcat and jetspeed. I have added all jar files which are 
>>in $CATALINA_HOME to $CLASSPATH.
>>( find $CATALINA_HOME -name "*.jar"  )
>>And I still can't compile portlets. I can compile servlets thow.
>>Anyone?
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> 
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


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


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

Reply via email to