Forums de discussion

problem crating bean in eclipse

thumbnail
tsic tech, modifié il y a 13 années.

problem crating bean in eclipse

New Member Publications: 13 Date d'inscription: 16/03/11 Publications récentes
hello,

I do following the configuration's steps of liferay-tomcat server in eclipse but I'm stopped in this bug


ERROR [ContextLoader:220] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.workflow.WorkflowDefinitionManager' defined in ServletContext resource [/WEB-INF/classes/META-INF/kaleo-spring.xml]: Cannot resolve reference to bean 'com.liferay.portal.workflow.kaleo.runtime.WorkflowEngine' while setting bean property 'workflowEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.runtime.WorkflowEngine' defined in ServletContext resource [/WEB-INF/classes/META-INF/kaleo-spring.xml]: Cannot resolve reference to bean 'com.liferay.portal.workflow.kaleo.runtime.KaleoSignaler' while setting bean property 'kaleoSignaler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.runtime.KaleoSignaler' defined in ServletContext resource [/WEB-INF/classes/META-INF/kaleo-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.KaleoActionLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoActionPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoDefinitionPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoInstancePersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoInstanceTokenPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoLogPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.workflow.kaleo.service.persistence.KaleoNotificationPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Lcom/liferay/portal/workflow/kaleo/service/persistence/KaleoNotificationPersistenceImpl$ContainsKaleoNotificationRecipient;


I don't know from where I should begin
Plzzzzzzzzzzz help me and thank u
thumbnail
Gregory Amerson, modifié il y a 13 années.

RE: problem crating bean in eclipse

Liferay Legend Publications: 1123 Date d'inscription: 16/02/10 Publications récentes
Can you describe what you are trying to do? And also describe exactly the steps you are using to get to the this error?
thumbnail
tsic tech, modifié il y a 13 années.

RE: problem crating bean in eclipse

New Member Publications: 13 Date d'inscription: 16/03/11 Publications récentes
Hi,

I did these steps
1) http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Development%20Environment%20%28Windows%29

2) http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Getting+Started+Tutorial

3) http://www.liferay.com/community/forums/-/message_boards/message/4372077

I'm realy blocked in my project which is to do a portail for entreprise with liferay (tomcat) in eclipse

Thank you for answering emoticon
Kieran Brady, modifié il y a 13 années.

RE: problem crating bean in eclipse

New Member Publications: 5 Date d'inscription: 17/11/10 Publications récentes
A developer on my team has exactly this stack trace with a vanilla straight out of the box tomcat 6.0.6 bundle without any settings applied at all. Its got us really confused as to what the problem might be.

This is clutching at straws, but one difference between the machines is that this developer is moving from .NET development so may have some stuff installed that the rest of us don't... but we've no idea what could cause this issue.

This is the windows environment, we all have similar setups:

OS Name	Microsoft Windows 7 Enterprise
Version	6.1.7601 Service Pack 1 Build 7601
Other OS Description 	Not Available
OS Manufacturer	Microsoft Corporation
System Name	XXXXXXXXXX
System Manufacturer	Dell Inc.
System Model	Precision WorkStation T3500
System Type	x64-based PC
Processor	Intel(R) Xeon(R) CPU           E5630  @ 2.53GHz, 2533 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date	Dell Inc. A07, 12/04/2010
SMBIOS Version	2.5
Windows Directory	C:\Windows
System Directory	C:\Windows\system32
Boot Device	\Device\HarddiskVolume1
Locale	United Kingdom
Hardware Abstraction Layer	Version = "6.1.7601.17514"
User Name	XXXXXXXXXX
Time Zone	GMT Daylight Time
Installed Physical Memory (RAM)	6.00 GB
Total Physical Memory	6.00 GB
Available Physical Memory	1.21 GB
Total Virtual Memory	12.0 GB
Available Virtual Memory	7.02 GB
Page File Space	6.00 GB
Page File	C:\pagefile.sys
thumbnail
Ignacio Roncero Bazarra, modifié il y a 13 années.

RE: problem crating bean in eclipse

New Member Publications: 21 Date d'inscription: 14/12/10 Publications récentes
Hi Kieran,

I have the same problem using Liferay Portal 6.0.5 and I've resolved follow these steps:

  • Check that Liferay Portal is stoped.
  • Compres liferay-portal-6.0.5\tomcat-6.0.26\webapps\kaleo-web directory. This is only to have got a backup copy.
  • Delete liferay-portal-6.0.5\tomcat-6.0.26\webapps\kaleo-web directory.
  • Download Kaleo plugins from site: Kaleo download site.
  • After you download the war file, move this file to liferay-portal-6.0.5\tomcat-6.0.26\webapps directory.
  • Now, start Liferay Portal. Liferay Portal deploy the new versión of Kaleo plugin without errors.


I'm using:
  • Liferay Portal 6.0.5 Bundle.
  • Eclipse 3.6.0 Helios
  • Liferay IDE Tools 1.1.0


I hope you can resolv your problem like me. emoticon

p.d: my English is poor, sorry. emoticon
thumbnail
tsic tech, modifié il y a 13 années.

RE: problem crating bean in eclipse

New Member Publications: 13 Date d'inscription: 16/03/11 Publications récentes
THAAAAAAAAAAAANK uuuuuuuu a lot for this response. I was stacking on it for a month and I didn't know where is the problem.

emoticon I'm so grateful
thumbnail
tsic tech, modifié il y a 12 années.

RE: problem crating bean in eclipse

New Member Publications: 13 Date d'inscription: 16/03/11 Publications récentes
It works emoticon

thank u