Hi,
When I run junit tests from the command prompt using :
java -cp c:\Temp\trinidad-impl\trinidad-impl.jar;
c:\Temp\trinidad-impl\trinidad-impl-test.jar;
c:\Temp\trinidad-impl\jsf-api.jar;
c:\Temp\trinidad-impl\jsf-impl.jar;
c:\Temp\trinidad-impl\activation-1.1.jar;
You're probably missing el-api.jar and el-ri.jar. You also need to
use either the JSF RI or MyFaces Core jar files, but not both.
On 4/24/07, Piyush Hari [EMAIL PROTECTED] wrote:
Hi,
When I run junit tests from the command prompt using :
java -cp c:\Temp\trinidad-impl\trinidad-impl.jar;
Thanks for the reply Mike but this did not solve the problem. I had to
include javaee.jar which I got when I installed Java EE 5 SDK on my
machine. Also,I removed Myfaces jars and now just use JSF 1.2 Jars now.
Thanks for that tip. Then, I had to include a few other JARS like
shale-test etc.
I believe our JSF 1.2 code requires Shale Test 1.0.4, not 1.0.3.
-- Adam
On 4/24/07, Piyush Hari [EMAIL PROTECTED] wrote:
Thanks for the reply Mike but this did not solve the problem. I had to
include javaee.jar which I got when I installed Java EE 5 SDK on my
machine. Also,I removed Myfaces
Thanks Adam. I changed it to 1.0.4 but it does not seem to solve the
problem. Same stacktrace and same exception (
treeTable-minimalSaf(org.apache.myfaces.trinidadinternal.renderkit.RenderKi
tTestCase$RendererTest)java.lang.IllegalStateException: Trying to attach
Request
Context to a thread