Maven Compile Fails With Java.lang.NoClassDefFoundError: Javax/el/ELContext
(Doc ID 2421631.1)
Last updated on NOVEMBER 15, 2023
Applies to:
Oracle SOA Suite - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
Maven compile fails with java.lang.NoClassDefFoundError: javax/el/ELContext
It can happen when trying to compile a SOA project that has references to a local file-based MDS.
The workaround is to manually add the javax.el dependency:
1. Navigate to ~/.m2/repository/com/oracle/soa/plugin/oracle-soa-plugin/12.2.1-3-0/oracle-soa-plugin-12.2.1-3-0.pom
2. After adding this dependency run mvn clean & mvn compile.
ERROR
-----------------------
Changes
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 |
Changes |
Cause |
Solution |
References |