Bump Spring to version 5 in deployment examples

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.16.0
    • Affects Version/s: 7.15.0-alpha5
    • Component/s: None
    • None

       Observed Behavior (Required on creation):

      While migrating the deployment examples https://github.com/camunda/camunda-bpm-examples#deployment--project-setup-examples to 7.15, I tried to bump their Spring dependencies from version 4 to 5. Some examples broke with Spring 5.


      • Spring Servlet - WildFly
      • Spring Servlet - Embedded Tomcat
      • Plain Spring Web application - WildFly

      Expected behavior (Required on creation):

      Eventually, these examples should work with Spring 5. 

      Root Cause (Required on prioritization):

      For these three examples we get an error like this: 

      "{\"WFLYCTL0080: Failed services\" => {\"jboss.deployment.unit.\\\"camunda-quickstart-wildfly-spring-nonpa-1.0-SNAPSHOT.war\\\".undertow-deployment.UndertowDeploymentInfoService\" => \"Failed to start service
      Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException
      Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextException from [Module \\\"deployment.camunda-quickstart-wildfly-spring-nonpa-1.0-SNAPSHOT.war\\\" from Service Module Loader]\"}}"

      With Spring 5, spring-web no longer pulls in spring-context, however this is required by camunda-engine-spring.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Anton von Weltzien
              Tobias Metzke-Bernstein Tobias Metzke-Bernstein
              Tassilo Weidner-Mühl Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: