joda-time的maven依赖:joda-time-jsptags:jar:1.0.2

时间:2014-02-04 00:27:15

标签: java eclipse spring maven spring-mvc

我正在尝试在我的eclipse / tomcat7安装中安装spring petcare应用程序,当我在eclipse中尝试Run As..Maven Build时收到以下错误消息:

POM for joda-time:joda-time-jsptags:jar:1.0.2 is missing, no dependency information available  

这是a link to the complete stack trace。这是a link to pom.xml。应用程序的整个代码can be found at this link。我还没有更改应用程序代码中的任何内容,因为我还没有编译它。

有问题的jar似乎在我的本地maven存储库中,所以问题可能是应用程序根本没有看到它。

任何人都可以帮我编译吗?

1 个答案:

答案 0 :(得分:1)

实际上是在查看http://search.maven.orgpom for that artifact is indeed missing!然而,后来的版本确实存在。

假设工件向后兼容,我认为你可以通过将joda-time-jsptags升级到1.1来解决它。

查找并更新以下对pom.xml的依赖

<dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time-jsptags</artifactId>
        <version>1.1</version>
        <scope>runtime</scope>
    </dependency>