My Oracle Support Banner

java.lang.NoClassDefFoundError while deploying a OSB project using maven (Doc ID 2801625.1)

Last updated on JULY 16, 2024

Applies to:

Oracle Service Bus - Version 12.1.3.0.0 to 12.2.1.4.0
Information in this document applies to any platform.

Symptoms

 While deploying an OSB project that uses Java Callout's using maven getting the following error's

[ERROR] Failed to execute goal com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.2.1-4-0:deploy (default-deploy) on project FulfillmentServices: Unexpected error importing the Service Bus archive: ; nested exception is:
[ERROR] weblogic.utils.NestedException: java.lang.NoClassDefFoundError: com/bea/wli/sb/util/DiagnosticLocation: com.bea.wli.sb.util.DiagnosticLocation

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.