Maven Compile Fails With Java.lang.NoClassDefFoundError: Javax/el/ELContext
(Doc ID 2421631.1)
Last updated on MARCH 15, 2019
Applies to:Oracle SOA Suite - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
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.
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