Hi, I have downloaded and installed maven1.0.2. I put maven1.0.2/lib in the classpath and maven1.0.2/bin in the path of the system. But when i run the maven from console where my project.xml is present, i got errors like "Attempting to download servletapi-2.3.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download servletapi-2.3.jar."
Like this some errors are coming. Basically these are the jar files(servletapi-2.3.jar) on which the application is dependent and which are mentioned in project.xml as a dependency. I have also put these all these jar files in system classpath, but still the error persist.
So can any one help me in finding out the root cause of the problem. Thanks well in advance. Shrikant
That problem is caused by Maven not being able to form a TCP connection to the ibiblio Maven repository. You have two options: 1) fix the network connection 2) manually get the .jar file in question from somewhere and place it into your local Maven repository
Hi Lasse Koskela, I have installed Maven in C:\Program Files\Apache Software Foundation\Maven 1.0.2 directory structure. As per your second suggestion, where i should I place the Jar files which it is looking for(Ex: servletapi-2.3.jar)? It should be in lib/bin or in some other directory inside Maven_Home?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus