Forum Discussion

JohnMcDaniel's avatar
14 years ago

TestRunner Log4J Error

Saw a similar thread out there but did not understand the fix that was implemented and am looking for a little help to get some testing set up.

I have started using Test Suite and now want to run TestRunner after I give the path to my bin directory and launch the runner I get an error explaining that a Java class is missing. Specifically org.apache.log4j.Layout. I included in bin/ext the log4j jar that was in my project and I also tried adding the latest log4j jar from apache. Do I have to rename them to a certain format for SOAPUI to pick up or do anything special.

Thanks for any direction/help.

John

1 Reply

  • kamahade's avatar
    kamahade
    Regular Contributor
    log4j will be already included in SOAPUI.. You should append soapuipro.jar and lib folder in your classpath.

    also include import line in your groovy class file and remember to include right package structure.