综合编程

Com.ibm.websphere # uow; 6.0.2.17: not found

微信扫一扫,分享到朋友圈

Com.ibm.websphere # uow; 6.0.2.17: not found
0

I am new to Ivy and am a chronic ant user, so repositories are still sort of new to me.

I have a Spring 4 project and I’m attempting to build my data access stuff using Hibernate. I have the following ivy.mxl file being imported into my build.

<ivy-module version="2.0">
    <info organisation="apache" module="data"/>
    <dependencies>
        <dependency org="org.eclipse.persistence" name="org.eclipse.persistence.core" rev="2.5.2-M1" />
        <dependency org="org.eclipse.persistence" name="org.eclipse.persistence.jpa" rev="2.5.2-M1" />
        <dependency org="com.ibm.websphere" name="com.springsource.com.ibm.websphere.uow" rev="6.0.2.17" />
        <dependency org="org.springframework" name="spring-beans" rev="4.0.3.RELEASE" />
        <dependency org="org.springframework" name="spring-context" rev="4.0.3.RELEASE" />
        <dependency org="org.springframework" name="spring-orm" rev="4.0.3.RELEASE" />
        <dependency org="org.springframework" name="spring-tx" rev="4.0.3.RELEASE" />
    </dependencies>
</ivy-module>

I added the uow line as a result of this problem. When I build, I get the following message:

[ivy:resolve]       ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]       ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]       ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]       :: com.ibm.websphere#uow;6.0.2.17: not found
[ivy:resolve]       ::::::::::::::::::::::::::::::::::::::::::::::

I google for this error and found nothing.

I found the library here: http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.com.ibm.websphere.uow&version=6.0.2.17
and added the following to my ivysettings.xml file as a result of the FAQ from this link:

<url name="com.springsource.repository.bundles.release">
        <ivy pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
        <artifact pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
    </url>
    <url name="com.springsource.repository.bundles.external">
        <ivy pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
        <artifact pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
    </url>

And then added to my chain:

<resolver ref="com.springsource.repository.bundles.release"/>
        <resolver ref="com.springsource.repository.bundles.external"/>

None of this has made any impact to my error. Any ideas?

阅读原文...


微信扫一扫,分享到朋友圈

Com&period;ibm&period;websphere &num; uow&semi; 6&period;0&period;2&period;17&colon; not found
0

Hello, buddy!

死磕 java同步系列之JMM(Java Memory Model)

上一篇

宜家的甜筒仅卖1元,一年1200万支,看似亏本的背后藏着什么秘密?

下一篇

评论已经被关闭。

插入图片

热门分类

往期推荐

Com&period;ibm&period;websphere &num; uow&semi; 6&period;0&period;2&period;17&colon; not found

长按储存图像,分享给朋友