java - Missing artifact leadtools:ocr:jar:1.0 -
i have added jars of leadtools in maven project , have stored jars locally in .m2
folder. in pom.xml
, getting following error -
missing artifact leadtools:ocr:jar:1.0
here's customised dependency -
<dependency> <groupid>leadtools</groupid> <artifactid>ocr</artifactid> <version>1.0</version> </dependency>
path have stored jar - /home/admin13/.m2/repository/leadtools/ocr/1.0/ocr-1.0.jar
you need match groupid , artifactid actuall leadtools namespace names: i.e. leadtools.forms.ocr
also, need add system path (relative or absolute) dependency
here example:
<dependency> <groupid>leadtools.forms.ocr</groupid> <artifactid>leadtools.forms.ocr</artifactid> <version>1.0</version> <scope>system</scope> <systempath>c:\public\workspace\leadtools\leadtools.form.ocr.jar</systempath> </dependency>
Comments
Post a Comment