我正在尝试将ivy设置为从springsource代码库获取jars。到目前为止,我已经为ivy.xml准备了:
<dependencies>
<dependency org="org.springframework" name="org.springframework.core" rev="3.0.1.RELEASE"/>
<dependency org="org.springframework" name="org.springframework.aop" rev="3.0.1.RELEASE" />
<dependency org="com.adobe.flex" name="com.springsource.flex.messaging.common" rev="3.2.0.3978"/>
<dependency org="com.adobe.flex" name="com.springsource.flex.messaging" rev="3.2.0.3978" />
</dependencies>
而对于我的ivysettings.xml:
<ivysettings>
<settings defaultresolver="spring.chain" deafultcache="C:/repo" />
<resolvers>
<chain name="spring.chain">
<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>
<ibiblio name="ibiblio" m2compatible="true"/>
</chain>
</resolvers>
但我一直收到错误:-
未知解析器null未找到用于org.springframework#org.springframework.core的解析器:检查您的配置未知解析器null未找到用于org.springframework#org.springframework.aop的解析器:检查您的配置未知解析器null未找到用于com.adobe.flex#com.springsource.flex.messaging.common:的解析器检查配置未知解析器null未找到用于com.adobe.flex#com.springsource.flex.messaging:的解析器
我是不是写错了什么关于解析器的东西?
发布于 2010-03-16 21:35:09
由于拼写错误,defaultresolver="spring.chain“应为defaultResolver="spring.chain”
https://stackoverflow.com/questions/2454484
复制相似问题