How to include custom libraries in a Fuse Springboot deployment

Solution Verified - Updated -


  • Using a S2I approach to deploy a Springboot project, log shows:
Caused by: java.lang.ClassNotFoundException: com.redhat.MyClass
    at java.lang.ClassLoader.loadClass(
    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 51 common frames omitted
  • How custom libraries can be added to any Springboot project?


  • Red Hat Fuse 7.X

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