Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in portlet

 
ashok sangi
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ahmed dohar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes you should delete the jars auto generated from liferay and run ant build again

Regards,
Dohar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic