Dependencies 损坏的Ivy XML缺少依赖项
遇到重复出现的问题-具有以下堆栈: 关系 常春藤 SBT spray-can_2.11库偶尔会下载,其依赖项信息在ivy-1.3.2.xml文件中丢失。结果是成功生成依赖关系树,但运行时NoClassDefFind发现异常。以下是腐败的一个例子:Dependencies 损坏的Ivy XML缺少依赖项,dependencies,sbt,ivy,nexus,Dependencies,Sbt,Ivy,Nexus,遇到重复出现的问题-具有以下堆栈: 关系 常春藤 SBT spray-can_2.11库偶尔会下载,其依赖项信息在ivy-1.3.2.xml文件中丢失。结果是成功生成依赖关系树,但运行时NoClassDefFind发现异常。以下是腐败的一个例子: <?xml version="1.0" encoding="UTF-8"?> <ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven"> &l
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="io.spray"
module="spray-can_2.11"
revision="1.3.2"
status="release"
publication="20141008085147"
>
<license name="Apache 2" url="http://www.apache.org/licenses/LICENSE-2.0.txt" />
<description homepage="http://spray.io">
A suite of lightweight Scala libraries for building and consuming RESTful web services on top of Akka
</description>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications>
<artifact name="spray-can_2.11" type="bundle" ext="jar" conf="master"/>
<artifact name="spray-can_2.11" type="source" ext="jar" conf="sources" m:classifier="sources"/>
<artifact name="spray-can_2.11" type="javadoc" ext="jar" conf="javadoc" m:classifier="javadoc"/>
</publications>
<dependencies>
</dependencies>
</ivy-module>
一套轻量级Scala库,用于在Akka之上构建和使用RESTful web服务
以下是缓存被擦除并再次下载后的文件:
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="io.spray"
module="spray-can_2.11"
revision="1.3.2"
status="release"
publication="20141008085147"
>
<license name="Apache 2" url="http://www.apache.org/licenses/LICENSE-2.0.txt" />
<description homepage="http://spray.io">
A suite of lightweight Scala libraries for building and consuming RESTful web services on top of Akka
</description>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications>
<artifact name="spray-can_2.11" type="bundle" ext="jar" conf="master"/>
<artifact name="spray-can_2.11" type="source" ext="jar" conf="sources" m:classifier="sources"/>
<artifact name="spray-can_2.11" type="javadoc" ext="jar" conf="javadoc" m:classifier="javadoc"/>
</publications>
<dependencies>
<dependency org="org.scala-lang" name="scala-library" rev="2.11.2" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>
<dependency org="io.spray" name="spray-io_2.11" rev="1.3.2" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>
<dependency org="io.spray" name="spray-http_2.11" rev="1.3.2" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>
<dependency org="io.spray" name="spray-util_2.11" rev="1.3.2" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>
<dependency org="com.typesafe.akka" name="akka-osgi_2.11" rev="2.3.6" force="true" conf="provided->compile(*),provided(*),runtime(*),master(*)"/>
<dependency org="com.typesafe.akka" name="akka-testkit_2.11" rev="2.3.6" force="true" conf="test->runtime(*),master(*)"/>
<dependency org="org.specs2" name="specs2_2.11" rev="2.3.13" force="true" conf="test->runtime(*),master(*)"/>
</dependencies>
</ivy-module>
一套轻量级Scala库,用于在Akka之上构建和使用RESTful web服务
是否有人观察到此问题并能够确定原因