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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -