Spring XML DSL Bean with @Cofiguration Fails to Deploy in JBoss EAP 6.4.0

Solution Verified - Updated -

Issue

  • We are having Fuse 6.2.1 running in EAP 6.4.0. The test-camel-context.xml is Spring XML DSL file which has a bean reference. The bean in turn refers to another spring component which contains the @Configuration annotation. When the .war gets deployed in JBoss EAP, it results in the following error
Caused by: java.lang.IllegalArgumentException: class com.ucbos.util.properties.PropertyHelper$$EnhancerBySpringCGLIB$$b40bdcc0 is not an enhanced class

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
  • Red Hat JBoss EAP
    • 6.4

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