Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
stephane njonjo
ClassCastException
December 17, 2006 1:32 AM
Answer

stephane njonjo

Rank: New Member

Posts: 3

Join Date: August 28, 2006

Recent Posts

Hi,

I'm trying to devellop a Dao portlet, then I followed the sample_dao portlet, downloaded from liferay samples.
the problem is that, I am getting a "java.lang.ClassCastException: com.sample.dao.portlet.DAOPortlet" exception.

I searched the web but couldn't find a clear explanation. can you help plz?

thanks in advance
Steph
Mika Koivisto
RE: ClassCastException
December 19, 2006 2:14 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1501

Join Date: August 7, 2006

Recent Posts

Could you tell which version of Liferay you are using and also attach the fulle stacktrace you are getting.
stephane njonjo
RE: ClassCastException
February 3, 2007 3:16 AM
Answer

stephane njonjo

Rank: New Member

Posts: 3

Join Date: August 28, 2006

Recent Posts

Hello,

I soled the problem!
i had made changes on portlet class name, but didn't change it in the xml configuration files.

thanks

Steph