You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by veena pandit <v....@gmail.com> on 2009/12/16 21:07:12 UTC

maven install gives the following errors

I am getting the following error message:

[ERROR] Missing:
----------
1) jstl:jstl:jar:1.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=jstl -DartifactId=jstl
-Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=jstl -DartifactId=jstl
-Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
  	1) 00001:00001:pom:pom:0.0.1-SNAPSHOT
  	2) jstl:jstl:jar:1.2

----------
1 required artifact is missing.

for artifact:
  00001:00001:pom:0.0.1-SNAPSHOT

from the specified remote repositories:
  apache-maven-snapshots
(http://people.apache.org/repo/m2-incubating-repository/,
releases=true, snapshots=true),
  java.net (http://download.java.net/maven/1, releases=true, snapshots=true),
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.

I
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MultipleArtifactsNotFoundException


I am not sure what goes into install file and path to file for the
command to manually download the file.


When I try to run the index.jspx that came with the archetype the
project does not get deployed on tomcat.
How am I supposed to run it?
Thanks,

Veena

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven install gives the following errors

Posted by veena pandit <v....@gmail.com>.
I forgot to mention this was maven for eclipse.

Thanks,

Veena

On Wed, Dec 16, 2009 at 6:23 PM, Wayne Fay <wa...@gmail.com> wrote:
>> [ERROR] Missing:
>> ----------
>> 1) jstl:jstl:jar:1.2
>
> Looking at the versions of jstl:jstl on mvnrepository:
> http://mvnrepository.com/artifact/jstl/jstl
>
> It looks like there is no 1.2 version released, at least not in
> Central. Change that to 1.1.2.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven install gives the following errors

Posted by Wayne Fay <wa...@gmail.com>.
> If I right click on the project in eclipse and select "run
> configurations" and try to run it on
> Tomcat it is not deployed there.

I have no idea how to run your project. Perhaps as on the M2Eclipse Users list?

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven install gives the following errors

Posted by veena pandit <v....@gmail.com>.
Great!  Wayne thanks that fixed it.  Now could you please tell me how
I run the project.
If I right click on the project in eclipse and select "run
configurations" and try to run it on
Tomcat it is not deployed there.

Thanks,

Veena

On Wed, Dec 16, 2009 at 7:15 PM, Wayne Fay <wa...@gmail.com> wrote:
>> Where do I make the change?
>
> In your pom.xml file.
>
>> And what about the other missing library?
>
> There was no other missing library in your log.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven install gives the following errors

Posted by Wayne Fay <wa...@gmail.com>.
> Where do I make the change?

In your pom.xml file.

> And what about the other missing library?

There was no other missing library in your log.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven install gives the following errors

Posted by veena pandit <v....@gmail.com>.
Where do I make the change?  And what about the other missing library?

Thanks,

Veena

On Wed, Dec 16, 2009 at 6:23 PM, Wayne Fay <wa...@gmail.com> wrote:
>> [ERROR] Missing:
>> ----------
>> 1) jstl:jstl:jar:1.2
>
> Looking at the versions of jstl:jstl on mvnrepository:
> http://mvnrepository.com/artifact/jstl/jstl
>
> It looks like there is no 1.2 version released, at least not in
> Central. Change that to 1.1.2.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven install gives the following errors

Posted by Wayne Fay <wa...@gmail.com>.
> [ERROR] Missing:
> ----------
> 1) jstl:jstl:jar:1.2

Looking at the versions of jstl:jstl on mvnrepository:
http://mvnrepository.com/artifact/jstl/jstl

It looks like there is no 1.2 version released, at least not in
Central. Change that to 1.1.2.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org