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

CXF SB2 is broken

XMLWordPrintable

    • False
    • False
    • % %
    • build3
    • Undefined

      dependencies mess up.
      Would see error like

      Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'cxf-org.apache.cxf.spring.boot.autoconfigure.CxfProperties': Could not bind properties to 'CxfProperties' : prefix=cxf, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is javax.validation.NoProviderFoundException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.
      Caused by: javax.validation.NoProviderFoundException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.
      
      Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fasterxml.jackson.datatype.jsr310.JavaTimeModule]: Unresolvable class definition; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ser/std/ToStringSerializerBase
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:149) ~[spring-beans-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.registerWellKnownModulesIfAvailable(Jackson2ObjectMapperBuilder.java:805) ~[spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.configure(Jackson2ObjectMapperBuilder.java:669) ~[spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.build(Jackson2ObjectMapperBuilder.java:652) ~[spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.<init>(MappingJackson2HttpMessageConverter.java:59) ~[spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter.<init>(AllEncompassingFormHttpMessageConverter.java:76) ~[spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.web.filter.FormContentFilter.<init>(FormContentFilter.java:61) ~[spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	at org.springframework.boot.web.servlet.filter.OrderedFormContentFilter.<init>(OrderedFormContentFilter.java:29) ~[spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
      	at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.formContentFilter(WebMvcAutoConfiguration.java:164) ~[spring-boot-autoconfigure-2.3.2.RELEASE.jar:2.3.2.RELEASE]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_221]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_221]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_221]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_221]
      	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	... 102 common frames omitted
      Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ser/std/ToStringSerializerBase
      	at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_221]
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[na:1.8.0_221]
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.8.0_221]
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[na:1.8.0_221]
      	at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[na:1.8.0_221]
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[na:1.8.0_221]
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[na:1.8.0_221]
      	at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_221]
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[na:1.8.0_221]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_221]
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[na:1.8.0_221]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_221]
      	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_221]
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[na:1.8.0_221]
      	at java.lang.Class.getConstructor0(Class.java:3075) ~[na:1.8.0_221]
      	at java.lang.Class.getDeclaredConstructor(Class.java:2178) ~[na:1.8.0_221]
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:139) ~[spring-beans-5.2.7.RELEASE.jar:5.2.7.RELEASE]
      	... 115 common frames omitted
      Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_221]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_221]
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[na:1.8.0_221]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_221]
      	... 132 common frames omitted
      

              yfang@redhat.com Freeman(Yue) Fang
              yfang@redhat.com Freeman(Yue) Fang
              Viliam Kasala Viliam Kasala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: