Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-911

Deploying Spring OSGi WAR bundle

    XMLWordPrintable

    Details

      Description

      When deploying a Spring powered OSGi WAR bundle to 7.1.1 Final, the following exception arises:

      11:52:08,998 ERROR [stderr] (WebExtender-Init) Exception in thread "WebExtender-Init" java.lang.NoClassDefFoundError: org/apache/catalina/Loader
      11:52:08,998 ERROR [stderr] (WebExtender-Init) at org.springframework.osgi.web.extender.internal.activator.WarListenerConfiguration.createDefaultWarDeployer(WarListenerConfiguration.java:194)
      11:52:08,999 ERROR [stderr] (WebExtender-Init) at org.springframework.osgi.web.extender.internal.activator.WarListenerConfiguration.<init>(WarListenerConfiguration.java:105)
      11:52:08,999 ERROR [stderr] (WebExtender-Init) at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$1.run(WarLoaderListener.java:361)
      11:52:09,000 ERROR [stderr] (WebExtender-Init) at java.lang.Thread.run(Thread.java:722)
      11:52:09,001 ERROR [stderr] (WebExtender-Init) Caused by: java.lang.ClassNotFoundException: org.apache.catalina.Loader from [Module "deployment.org.springframework.osgi.web:1.2.1" from Service Module Loader]

      The spring-osgi-1.2.1 was previously deployed to the server and the test of sharing a spring bean between two Spring OSGi JAR bundles was successful

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            White_Sox Rui Abreu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: