我正在尝试为版本3.2.4.RELEASE构建一个完整的Spring Framework发行版,而不使用maven(只是spring jar)并设法手动获取除spring-asm之外的所有jar.
Spring-asm在版本3.1.4停止.这是为什么?
我有更高的弹簧分布,高达3.1.1(那些你有一个zip文件,没有被迫使用maven)并且所有内部都有相同的spring-asm jar,版本相同.
为什么没有spring-asm-3.2.4.RELEASE jar?
请原谅这是一个转储问题,但我已经搜索了很多,并且无法理解如何真正阅读Maven Dependency tee.我知道这个命令用于找出依赖关系但是如何?这是mvn dependency:tree -Dverbose我项目的结果.
[INFO] +- org.springframework:spring-core:jar:4.0.2.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.3:compile
[INFO] +- org.springframework:spring-web:jar:4.0.2.RELEASE:compile
[INFO] | +- (org.springframework:spring-aop:jar:4.0.2.RELEASE:compile - omitted for duplicate)
[INFO] | +- org.springframework:spring-beans:jar:4.0.2.RELEASE:compile
[INFO] | | \- (org.springframework:spring-core:jar:4.0.2.RELEASE:compile - omitted for duplicate)
[INFO] | +- (org.springframework:spring-context:jar:4.0.2.RELEASE:compile - omitted for duplicate)
[INFO] | \- (org.springframework:spring-core:jar:4.0.2.RELEASE:compile - omitted for duplicate)
[INFO] +- org.springframework:spring-webmvc:jar:4.0.2.RELEASE:compile
[INFO] | +- (org.springframework:spring-beans:jar:4.0.2.RELEASE:compile - omitted for duplicate)
[INFO] | +- (org.springframework:spring-context:jar:4.0.2.RELEASE:compile - omitted for duplicate)
[INFO] | +- (org.springframework:spring-core:jar:4.0.2.RELEASE:compile - omitted for …Run Code Online (Sandbox Code Playgroud) 我最近下载了Eclipse Juno并安装了最新的Groovy插件.
现在这是我的Groovy文件的样子.
package groovy_support
class TimePass {
static void main(def args){
println "Hello World"
}
}
Run Code Online (Sandbox Code Playgroud)
当我从我之前的eclipse版本(indigo)或命令行运行它时,它会运行.然而,在Eclipse Juno上,它抱怨Eclipse控制台上出现以下异常.
Caught: java.lang.IncompatibleClassChangeError: Found class org.objectweb.asm.ClassVisitor, but interface was expected
java.lang.IncompatibleClassChangeError: Found class org.objectweb.asm.ClassVisitor, but interface was expected
Run Code Online (Sandbox Code Playgroud)
请注意,"Groovy库"已经在类路径中.
那我在这里做错了什么?
maven ×2
spring ×2
dependencies ×1
eclipse ×1
eclipse-juno ×1
groovy ×1
jar ×1
java ×1
maven-plugin ×1