Cannot import external jar file in Rational Software Developer Platform
Joined: Jan 10, 2003
I have struggled with this for a while -- this is semmingly such a simple and common task, which is really frustrating.
I have build a dynamic web project, I want to import an external jar file. I used Rational Software Developer Platform's utility to import the jar file, and I can see it right there in my project (under java resources). When I instantiate a class in this jar file, the context sensitive editor recognizes the class (it would auto-complete the statement, for example). So far so good. But, when I try to run the project, I got a javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError.
It sounds like the compiler is able to recognize the jar file, but it is not in the runtime classpath. I've struggled for a few hours now and could not get it to work, any ideas?