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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.