Mathias
See below - this is a classloader/classpath issue. Your portlet needs to be
loaded by the same classloader as the rest of jetspeed - so follow the
instructions below and you should be OK.
Cheers
Joe.
-----Original Message-----
From: Mathias Lagu�rie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 July 2001 8:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: Could not get Portlet
I use Tomcat 3.2.1and JetSpeed 1.3a1
I watched the log file. I can see a first error when jetspeed treat my
portlet.
My portlet extends org.apache.jetspeed.portal.portlets.AbstractPortlet and
there is this line in the log file :
java.lang.NoClassDefFoundError:
org/apache/jetspeed/portal/portlets/AbstractPortlet
I know this class in the Jetspeed.jar file. this jar is in the <jetspeed
dir>/WEB-INF/lib directory
I don't understand !! What Can I do ?
Mathias
"Mannering, J (Joe)" wrote:
> Mathias
>
> Check the jetspeed log for error messages: <jetspeed
> dir>/WEB-INF/log/jetspeed.log.
>
> What webserver and versions of jetspeed,jdk and platform etc. are you
using?
>
> This could be a classpath issue: try unsetting your classpath and putting
> your class file in <jetspeed dir>/WEB-INF/classes (make this if this does
> not exist) or in a jar file in <jetspeed dir>/WEB-INF/lib.
>
> Cheers
>
> Joe.
>
> -----Original Message-----
> From: Mathias Lagu�rie [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 18 July 2001 5:42 PM
> To: [EMAIL PROTECTED]
> Subject: Error: Could not get Portlet
>
> Hi,
> I'm newbie JetSpeed user and I'm trying to realise "How to Write a
> Portlet" steps.
> I made the portlet HelloWorldPortlet, I compile it.
> I modify the Environnement variable classpath.
> I modify the jetspeed-config.jcfg file.
> I can connect to the portal, but when I click on customize link Tomcat
> console notice this Error
> Error=CustomizePortlet: Could not get Portlet HelloWorldPortlet from
> PortletFactory!
> however, I Can see in the portlet list my portlet, I can check it but I
> can't visualize in home page.
> Mathias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
============================================================================
====================
> This electronic message (email) and any attachments to it are subject to
copyright and are sent for the personal attention of the addressee. Although
you may be the named recipient, it may become apparent that this email and
its contents are not intended for you and an addressing error has been made.
This email may include information that is legally privileged and exempt
from disclosure. If you have received this email in error, please advise us
immediately and delete this email and any attachments from
your computer system.Rabobank International is the trading name of
Co�peratieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated
in the Netherlands. Registered with the Registrar of Companies for England &
Wales No. BR002630 and regulated by the SFA for the conduct of investment
business in the UK.
>
> The presence of this footnote also confirms that this email has been
automatically checked by Rabobank International for the presence of computer
viruses prior to it being sent, however, no guarantee is given or implied
that this email is virus free upon delivery.
>
> ==================================================================
>
> ---------------------------------------------------------------------
> 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]
================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and
are sent for the personal attention of the addressee. Although you may be the named
recipient, it may become apparent that this email and its contents are not intended
for you and an addressing error has been made. This email may include information that
is legally privileged and exempt from disclosure. If you have received this email in
error, please advise us immediately and delete this email and any attachments from
your computer system.Rabobank International is the trading name of Co�peratieve
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
Registered with the Registrar of Companies for England & Wales No. BR002630 and
regulated by the SFA for the conduct of investment business in the UK.
The presence of this footnote also confirms that this email has been automatically
checked by Rabobank International for the presence of computer viruses prior to it
being sent, however, no guarantee is given or implied that this email is virus free
upon delivery.
==================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]