我正在使用Jack兔子2.6.3,并希望与spring集成,用于注入存储库。
<bean id="repository"
class="org.springmodules.jcr.jackrabbit.RepositoryFactoryBean">
<!-- normal factory beans params -->
<property name="configuration" value="classpath:/jackrabbit-repository.xml" />
<!-- use the target folder which will be cleaned -->
<property name="homeDir" value="file:./tmp/repository" />
</bean>但是春季的jcr版本似乎相当古老,似乎是在寻找非常古老的罐子。
[ERROR] Failed to execute goal on project xyz: Could not resolve dependencies for project com.test.xyq:war:2.4.2: The following artifacts could not be resolved: jsr170:jsr170:jar:1.0, jeceira:jeceira:jar:0.1.3, aparzev:doka:jar:0.1, aparzev:commons:jar:0.2, jug:jug-asl:jar:2.0.0: Failure to find jsr170:jsr170:jar:1.0 in nexus/content/groups/ was cached in the local repository, resolution will not be reattempted until the update interval of has elapsed /nexus/content/groups/ or updates are forced -> [Help 1]问题:
发布于 2013-12-17 08:45:40
我写了一篇博文这里。这个示例适用于最新的Jack兔子2.6.4和Spring 3,您应该获得正确的spring库,这一个适合我
https://stackoverflow.com/questions/18507744
复制相似问题