fabio martelli created SYNCOPE-452:
--------------------------------------
Summary: Generated project not starting in embedded mode
Key: SYNCOPE-452
URL: https://issues.apache.org/jira/browse/SYNCOPE-452
Project: Syncope
Issue Type: Bug
Components: archetype
Affects Versions: 1.1.5
Environment: embedded mode
Reporter: fabio martelli
Fix For: 1.1.6, 1.2.0
When generating new project by following instructions at
https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
and starting via -Pembedded syncope doesn't work. See the following exception
for details.
Caused by: org.springframework.beans.factory.BeanCreationException: Could not
autowire field: private
org.apache.syncope.core.workflow.user.UserWorkflowAdapter
org.apache.syncope.core.rest.controller.WorkflowController.uwfAdapter; nested
exception is org.springframework.beans.factory.CannotLoadBeanClassException:
Cannot find class
[org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer] for bean
with name '${attributableTransformer}#0' defined in file
[/tmp/pp/console/target/cargo/configurations/tomcat7x/webapps/syncope/WEB-INF/classes/restContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)
~[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
~[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
~[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
... 27 common frames omitted
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
Cannot find class
[org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer] for bean
with name '${attributableTransformer}#0' defined in file
[/tmp/pp/console/target/cargo/configurations/tomcat7x/webapps/syncope/WEB-INF/classes/restContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer
--
This message was sent by Atlassian JIRA
(v6.1#6144)