Thanks Fang, it worked. cheers, Anish..
-----Original Message----- From: Cubehead Fang [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 12:28 PM To: Jetspeed Users List Subject: Re: Cannot create instance of portlet Please check if there is a portlet-api.jar in the lib dir of your portlet application. Delete the portlet-api.jar from your portlet.war. On 3/17/06, GopalakrishnanNair, Anishkumar < [EMAIL PROTECTED]> wrote: > > Hi Raj, > > Thanks for the response. Related files are attached. > > Cheers, > Anish.. > > -----Original Message----- > From: Raj Saini [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 12:17 PM > To: Jetspeed Users List > Subject: Re: Cannot create instance of portlet > > > 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 > <[EMAIL PROTECTED]> 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: [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] > > > -- Thanks, Cubehead Fang --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
