I got the error java.lang.NoClassDefFoundError: javax/el/ELContext when i was trying to run a unit test.
Solution:
el-api.jar needs to be in your class path. This is usually found in the tomcat/lib dir. I usually add everything in the tomcat lib to my classpath
Your solution works but I don't understand how it is working because I was adding this jar in my Maven library class. Anyways, thanks!
ReplyDelete