You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "GopalakrishnanNair, Anishkumar" <an...@logicacmg.com> on 2006/03/17 04:22:18 UTC

Cannot create instance of portlet

Hi,

	I have successfully installed Jetspeed. I created a portlet and tried to deploy it on jetspeed. I have created the portlet.xml and a psml file for this portlet. And when i call that psml file from the browser it doesnt work. From the log file I found the error as "java.lang.ClassCastException: MyFirstPortlet   at org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(JetspeedPortletFactory.java:204)"

	The configuration for this portlet in portlet.xml is correct and also the psml file. I dont know whats going wrong? Anyone, please help me on this.

Thanks and Regards,
Anish..


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

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


Re: Cannot create instance of portlet

Posted by Raj Saini <ra...@gmail.com>.
Gopalakrishanan,

Can you post your project.xml and portlet class file to know better
what could be wrong?

Regards,

Raj

On 3/17/06, GopalakrishnanNair, Anishkumar
<an...@logicacmg.com> wrote:
> Hi,
>
>         I have successfully installed Jetspeed. I created a portlet and tried to deploy it on jetspeed. I have created the portlet.xml and a psml file for this portlet. And when i call that psml file from the browser it doesnt work. From the log file I found the error as "java.lang.ClassCastException: MyFirstPortlet   at org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(JetspeedPortletFactory.java:204)"
>
>         The configuration for this portlet in portlet.xml is correct and also the psml file. I dont know whats going wrong? Anyone, please help me on this.
>
> Thanks and Regards,
> Anish..
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

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