Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8416

spring-boot-cxf (jaxrs, jaxws) - ClassNotFoundException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.1
    • None
    • FIS-Quickstarts
    • None
    • % %
    • Fuse 7.0 Sprint 27

    Description

      Exception

      java.lang.NoClassDefFoundError: ch/qos/logback/core/util/StatusListenerConfigHelper
      	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:147)
      	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
      	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
      	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
      	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
      	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
      	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
      	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
      	at org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:179)
      	at io.fabric8.quickstarts.cxf.jaxrs.SampleRestApplication.main(SampleRestApplication.java:36)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
      	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
      Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.util.StatusListenerConfigHelper
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 20 more
      Exception in thread "main" java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
      	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
      Caused by: java.lang.NoClassDefFoundError: ch/qos/logback/core/util/StatusListenerConfigHelper
      	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:147)
      	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
      	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
      	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
      	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
      	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
      	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
      	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
      	at org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:179)
      	at io.fabric8.quickstarts.cxf.jaxrs.SampleRestApplication.main(SampleRestApplication.java:36)
      	... 8 more
      Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.util.StatusListenerConfigHelper
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 20 more
      

      Attachments

        Issue Links

          Activity

            People

              yfang@redhat.com Freeman(Yue) Fang
              llowinge@redhat.com Lukas Lowinger
              Lukas Lowinger Lukas Lowinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: