reset password
Author Message
sraghav
Posts: 8
Posted 04:14 Apr 07, 2012 |

I have an error in the few JSP files of csns2 project. The error says

Can not find the tag library descriptor for "http://www.springframework.org/tags"

I have few errors in pom.xml. They are

1. Missing artifact net.sf.ehcache:ehcache-core:jar:2.4.3

2. ArtifactTransferException: Failure to transfer net.sf.ehcache:ehcache-core:jar:2.4.3 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact net.sf.ehcache:ehcache-core:jar:2.4.3 from/to central (http://repo1.maven.org/maven2): No response received after 60000

3. Missing artifact org.springframework:spring-beans:jar:3.0.5.RELEASE

4. Missing artifact org.springframework:spring-webmvc:jar:3.0.5.RELEASE

5. ArtifactTransferException: Failure to transfer org.springframework:spring-webmvc:jar:3.0.5.RELEASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring-webmvc:jar:3.0.5.RELEASE from/to central (http://repo1.maven.org/maven2): No response received after 60000

6. ArtifactTransferException: Failure to transfer org.springframework:spring-beans:jar:3.0.5.RELEASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring-beans:jar:3.0.5.RELEASE from/to central (http://repo1.maven.org/maven2): No response received after 60000

I tried downloading spring framework release 3.05 and putting the jar files in the tomcat lib directory.
 But even after doing so i get these errors.


Please let me know on what I'm missing out.

cysun
Posts: 2935
Posted 08:30 Apr 07, 2012 |

Follow the instructions here.

sraghav
Posts: 8
Posted 11:02 Apr 07, 2012 |

I have already done this professor.

But no luck! 

What should I do now?

nelson
Posts: 4
Posted 11:23 Apr 07, 2012 |

The link the professor sent is spot-on.

It sounds like the connection to repo1.maven.org is timing-out -- this is probably an issue with your network connection:

(http://repo1.maven.org/maven2): No response received after 60000

Also, Eclipse will not try transferring the jar from the central maven repo until the scheduled time or unless you force and update:

Failure to transfer net.sf.ehcache:ehcache-core:jar:2.4.3 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.

I would follow the instructions in the link the professor sent and then try running maven from the command-line to rule-out any issues with Eclipse. 

Once the build works from the command-line, I would try it again from Eclipse.  If the build works  from the command-line but not from Eclipse, I would delete Eclipse and try the setup again from scratch.

If none of this works, can you send info about the OS you're running?

Take care,

-- Nelson

sraghav
Posts: 8
Posted 10:37 Apr 08, 2012 |

It is working fine now. 

I think the problem was with the internet connection and I also changed my OS to Windows 7.

Thank you professor and thank you Nelson for your time and help.