Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ADF Essentials 12.2.1 Glassfish 4 NoClassDefFoundError: org/antlr/runtime/RecognitionException

Alexis LopezFeb 5 2016 — edited Feb 5 2016

Hi,

I'm working on an ADF Essentials 12.2.1 application to be deployed on Glassfish 4.1.

I configured Glassfish with the adf-essentials.zip file that contains ADF Runtime for Glassfish and also with the javax.el.jar and javax.faces.jar recommended in the Configuring GlassFish Server documentation, by the way, the folder where you have to unzip the adf-essentials.zip file is not the one recommended in the documentation, but this one: {GLASSFISH_HOME}/glassfish/domains/domain1/lib/

Anyway, after successful deployment, if I try to load the web application in my browser I get:

NoClassDefFoundError: org/antlr/runtime/RecognitionException

As a workaround I downloaded the jar file (antlr-runtime-3.5.2.jar) containing such class and copied it to {GLASSFISH_HOME}/glassfish/domains/domain1/lib/ along with the ADF Runtime jars....

It is working now, but why do we need this library and why is it not documented in the Configuring Glassfish documentation?

Regards,

Alexis

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 4 2016
Added on Feb 5 2016
0 comments
668 views