Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-452

Generated project not starting in embedded mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.1.6, 1.2.0-M1
    • Component/s: archetype
    • Labels:
      None
    • Environment:
      embedded mode

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ilgrosso Francesco Chicchiriccò
                Reporter:
                fmartelli fabio martelli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: