amitgrover8
10 years agoOccasional Contributor
Class Missing - org/apache/log4j/Layout
Hi,
I am trying to execute soap ui test from Jenkins with maven commnd. But I am getting this error.
[ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:5.2.1:test (default-cli) on project OrionAPITest: Execution default-cli of goal com.smartbear.soapui:soapui-maven-plugin:5.2.1:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:5.2.1:test: org/apache/log4j/Layout
My pom.xml
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId>
<version>1.7.2</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-service</artifactId>
<version>1.7.2</version>
</dependency>Does anybody has any idea about this error?