我试图从 wicket 1.4 迁移到 wicket 6,但我遇到了这个错误:
未能在项目 WicketExamples 上执行目标:无法解析项目 com.core:WicketExamples:war:1.1-SNAPSHOT 的依赖项:无法在http://repo.maven 中找到 org.apache.wicket:wicket:jar:6.12.0 .apache.org/maven2已缓存在本地存储库中,直到中央的更新间隔过去或强制更新后才会重新尝试解析
这是我对 pom.xml 的依赖:
<dependencies>
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket</artifactId>
<version>6.12.0</version>
</dependency>
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-spring</artifactId>
<version>6.12.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<!-- slf4j-log4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.4</version>
</dependency>
</dependencies>
有什么建议吗?