I have a pom.xml file and have a dependency for itext
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>4.2.1</version>
</dependency>
When I run the mvn clean install -DskipTests -P <profile_name>
command, I get a compilation error "package com.lowagie.text does not exist"
.
I checked the Maven dependency folder in Eclipse and found the below dependency in the image instead of "itext-4.1.2.jar" :
The same maven command when I run it on my colleague's machine, it runs properly without any error.
It would be a great help if someone helps me in resolving this issue.
Thanks in advance :)