Missing org/springframework/util/Assert class

Solution Verified - Updated -

Issue

  • Post Fuse v6.3R3 upgrade we are having the problem due to missing classes
Caused by: java.lang.NoClassDefFoundError: org/springframework/util/Assert
  • Error

Caused by: java.lang.NoClassDefFoundError: org/springframework/util/Assert at org.springframework.xml.namespace.SimpleNamespaceContext.bindNamespaceUri(SimpleNamespaceContext.java:100) at sample.package.QueryAppointmentAvailabilityResponseUtil.<init>(QueryAppointmentAvailabilityResponseUtil.java:43) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_131] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_131] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_131] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[:1.8.0_131] at org.apache.aries.blueprint.utils.ReflectionUtils.newInstance(ReflectionUtils.java:331) at org.apache.aries.blueprint.container.BeanRecipe.newInstance(BeanRecipe.java:984) at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromType(BeanRecipe.java:349) ... 56 more Caused by: java.lang.ClassNotFoundException: org.springframework.util.Assert not found by org.apache.servicemix.bundles.spring-xml [329] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_131] ... 65 more

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content