File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes error in portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "error in portlet" Watch "error in portlet" New topic

error in portlet

ashok sangi

Joined: Mar 23, 2011
Posts: 24
while deploying my spring portlet the following error will come please help me

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sharedwork.liferay.service.persistence.EventAttendeePersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.Error: Unresolved compilation problem:
com.liferay.util.service cannot be resolved
Chandraprakash Sarathe

Joined: Jan 21, 2012
Posts: 16
Though description provided by you is incomplete. class is not compiled or jar includes this file is not added in your deployment file in lib directory.

Chandraprakash Sarathe
ahmed dohar

Joined: Oct 06, 2009
Posts: 26
Sometimes you should delete the jars auto generated from liferay and run ant build again

I agree. Here's the link:
subject: error in portlet
It's not a secret anymore!