users@jersey.java.net

[Jersey] Re: InjectLink in unit test cases causes 500 Server Error

From: naresh <baliga_naresh_at_yahoo.com>
Date: Tue, 24 Mar 2015 15:41:31 -0700 (MST)

I wasn't seeing any errors because I hadn't configured logging in
logging.properties.

Once I added the relevant entries in logging.properties, it was evident that
I was missing el-impl.jar in my test dependencies.

That fixed my "error".

I'm surprised that the root cause, a ClassNotFoundException such as:
Caused by: java.lang.ClassNotFoundException:
com.sun.el.ExpressionFactoryImpl


was muted because I hadn't configured any logging properties. Shouldn't this
be output OOTB?

Also, it's evident now that the InjectLink was working in WebLogic, because
an el-impl.jar was present in oracle_common.

Shouldn't this have been pulled down as a dependency by some module of
Jersey?



--
View this message in context: http://jersey.576304.n2.nabble.com/InjectLink-in-unit-test-cases-causes-500-Server-Error-tp7583216p7583217.html
Sent from the Jersey mailing list archive at Nabble.com.