NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
radecek
Joined: 06 Aug 2012 Posts: 3
|
Posted: Mon Aug 06, 2012 7:31 pm Post subject: Maven project missing library |
|
|
Hello,
I have created the maven web application project with jsf, spring and hibernate. When maven is downloading the dependencies it returns the error:
| Quote: | Please download the dependencies, or install the manually, if not available remotely.
The artefacts are:
javax.sql:jdbc-stdext:jar:2.0
javax.transaction:jta:jar:1.0.1B |
I have downloaded the sql:jdbc-stdext:jar:2.0 but I didnt find how can I add this package to my project or how can I solve this problem?
Thank you |
|
| Back to top |
|
 |
predatorvi
Joined: 10 Sep 2010 Posts: 24
|
Posted: Mon Aug 06, 2012 11:07 pm Post subject: Maven project missing library |
|
|
Don't download it....add it as a dependency to the Maven Project POM. Maven will download it for you.
On Mon, Aug 6, 2012 at 1:31 PM, radecek <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hello,
I have created the maven web application project with jsf, spring and hibernate. When maven is downloading the dependencies it returns the error:
| Quote: | Please download the dependencies, or install the manually, if not available remotely.
The artefacts are:
javax.sql:jdbc-stdext:jar:2.0
javax.transaction:jta:jar:1.0.1B
|
I have downloaded the sql:jdbc-stdext:jar:2.0 but I didnt find how can I add this package to my project or how can I solve this problem?
Thank you
|
--
Jeff Vincent
address-removed ([email]address-removed[/email])
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! |
|
| Back to top |
|
 |
saikanth5
Joined: 31 Jul 2012 Posts: 44 Location: Hyderabad
|
Posted: Tue Aug 07, 2012 7:59 am Post subject: Re: Maven project missing library |
|
|
Right Click on Dependices of your module and click on the "Download declared Dependencies".
Hope this helps.
| radecek wrote: | Hello,
I have created the maven web application project with jsf, spring and hibernate. When maven is downloading the dependencies it returns the error:
| Quote: | Please download the dependencies, or install the manually, if not available remotely.
The artefacts are:
javax.sql:jdbc-stdext:jar:2.0
javax.transaction:jta:jar:1.0.1B |
I have downloaded the sql:jdbc-stdext:jar:2.0 but I didnt find how can I add this package to my project or how can I solve this problem?
Thank you |
|
|
| Back to top |
|
 |
radecek
Joined: 06 Aug 2012 Posts: 3
|
Posted: Tue Aug 07, 2012 8:22 am Post subject: |
|
|
| I have it in project dependencies but project cannot find the library.. |
|
| Back to top |
|
 |
radecek
Joined: 06 Aug 2012 Posts: 3
|
Posted: Tue Aug 07, 2012 9:07 am Post subject: Re: Maven project missing library |
|
|
| saikanth5 wrote: | Right Click on Dependices of your module and click on the "Download declared Dependencies".
Hope this helps.
| radecek wrote: | Hello,
I have created the maven web application project with jsf, spring and hibernate. When maven is downloading the dependencies it returns the error:
| Quote: | Please download the dependencies, or install the manually, if not available remotely.
The artefacts are:
javax.sql:jdbc-stdext:jar:2.0
javax.transaction:jta:jar:1.0.1B |
I have downloaded the sql:jdbc-stdext:jar:2.0 but I didnt find how can I add this package to my project or how can I solve this problem?
Thank you |
|
I have done. NetBeans says me that it downloaded all dependencies but I still have the same error. I have tried solve this problem click to project name and select "show and resolve the problem". And click to prime build in new opened window. I got this report:
|
|
| Back to top |
|
 |
Javier Ortiz Posted via mailing list.
|
Posted: Tue Aug 07, 2012 1:04 pm Post subject: Maven project missing library |
|
|
Sometimes libraries are just not in a Maven repository anywhere but you need to use them.
Define local repository:
<repository>
<id>project.local</id>
<name>project</name>
<url>file:${project.basedir}/repo</url>
</repository>
And add a folder named repo under the root of the project. Also the jar file needs to be placed in the correct location within the repo folder. For example: gudosoft\gsqlparser\gsp\4.2\<jar here>
And the jar needs to be named correctly: gsp-4.2.jar
Where the dependency on the jar is as follows:
<dependency>
<groupId>gudosoft.gsqlparser</groupId>
<artifactId>gsp</artifactId>
<version>4.2</version>
</dependency>
Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed
-----Original Message-----
From: radecek [mailto:address-removed]
Sent: Monday, August 06, 2012 2:31 PM
To: address-removed
Subject: [nbusers] Maven project missing library
Hello,
I have created the maven web application project with jsf, spring and hibernate. When maven is downloading the dependencies it returns the error:
| Quote: | Please download the dependencies, or install the manually, if not available remotely.
The artefacts are:
javax.sql:jdbc-stdext:jar:2.0
javax.transaction:jta:jar:1.0.1B
|
I have downloaded the sql:jdbc-stdext:jar:2.0 but I didnt find how can I add this package to my project or how can I solve this problem?
Thank you
**********
The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.
Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|