Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

低版本的SPRING排除掉,不然IDEA启不来, #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

低版本的SPRING排除掉,不然IDEA启不来, #2

wants to merge 1 commit into from

Conversation

hzdavid
Copy link

@hzdavid hzdavid commented Aug 22, 2018

/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=62775:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/tools.jar:/Users/david/IdeaProjects/dubbo-spi-demo/consumer/target/classes:/Users/david/IdeaProjects/dubbo-spi-demo/api/target/classes:/Users/david/workspace/dev/lib/maven_repo/com/alibaba/dubbo/2.6.0/dubbo-2.6.0.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring/2.5.6.SEC03/spring-2.5.6.SEC03.jar:/Users/david/workspace/dev/lib/maven_repo/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/david/workspace/dev/lib/maven_repo/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final.jar:/Users/david/workspace/dev/lib/maven_repo/log4j/log4j/1.2.16/log4j-1.2.16.jar:/Users/david/workspace/dev/lib/maven_repo/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar:/Users/david/workspace/dev/lib/maven_repo/com/github/sgroschupf/zkclient/0.1/zkclient-0.1.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/Users/david/workspace/dev/lib/maven_repo/jline/jline/0.9.94/jline-0.9.94.jar:/Users/david/workspace/dev/lib/maven_repo/junit/junit/3.8.1/junit-3.8.1.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter/1.5.7.RELEASE/spring-boot-starter-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot/1.5.7.RELEASE/spring-boot-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-context/4.3.11.RELEASE/spring-context-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-autoconfigure/1.5.7.RELEASE/spring-boot-autoconfigure-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter-logging/1.5.7.RELEASE/spring-boot-starter-logging-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/Users/david/workspace/dev/lib/maven_repo/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/slf4j-api/1.7.22/slf4j-api-1.7.22.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-core/4.3.11.RELEASE/spring-core-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter-web/1.5.7.RELEASE/spring-boot-starter-web-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter-tomcat/1.5.7.RELEASE/spring-boot-starter-tomcat-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/tomcat/embed/tomcat-embed-core/8.5.20/tomcat-embed-core-8.5.20.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/tomcat/embed/tomcat-embed-el/8.5.20/tomcat-embed-el-8.5.20.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.20/tomcat-embed-websocket-8.5.20.jar:/Users/david/workspace/dev/lib/maven_repo/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar:/Users/david/workspace/dev/lib/maven_repo/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/Users/david/workspace/dev/lib/maven_repo/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/classmate/1.3.1/classmate-1.3.1.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-web/4.3.11.RELEASE/spring-web-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-aop/4.3.11.RELEASE/spring-aop-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-beans/4.3.11.RELEASE/spring-beans-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-webmvc/4.3.11.RELEASE/spring-webmvc-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-expression/4.3.11.RELEASE/spring-expression-4.3.11.RELEASE.jar com.dubbo.spi.demo.consumer.ConsumerApp
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Ljava/util/List;)V
at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:394)
at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:383)
at org.springframework.boot.SpringApplication.initialize(SpringApplication.java:249)
at org.springframework.boot.SpringApplication.(SpringApplication.java:225)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at com.dubbo.spi.demo.consumer.ConsumerApp.main(ConsumerApp.java:9)

Process finished with exit code 1

/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=62775:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/lib/tools.jar:/Users/david/IdeaProjects/dubbo-spi-demo/consumer/target/classes:/Users/david/IdeaProjects/dubbo-spi-demo/api/target/classes:/Users/david/workspace/dev/lib/maven_repo/com/alibaba/dubbo/2.6.0/dubbo-2.6.0.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring/2.5.6.SEC03/spring-2.5.6.SEC03.jar:/Users/david/workspace/dev/lib/maven_repo/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/david/workspace/dev/lib/maven_repo/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final.jar:/Users/david/workspace/dev/lib/maven_repo/log4j/log4j/1.2.16/log4j-1.2.16.jar:/Users/david/workspace/dev/lib/maven_repo/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar:/Users/david/workspace/dev/lib/maven_repo/com/github/sgroschupf/zkclient/0.1/zkclient-0.1.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/Users/david/workspace/dev/lib/maven_repo/jline/jline/0.9.94/jline-0.9.94.jar:/Users/david/workspace/dev/lib/maven_repo/junit/junit/3.8.1/junit-3.8.1.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter/1.5.7.RELEASE/spring-boot-starter-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot/1.5.7.RELEASE/spring-boot-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-context/4.3.11.RELEASE/spring-context-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-autoconfigure/1.5.7.RELEASE/spring-boot-autoconfigure-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter-logging/1.5.7.RELEASE/spring-boot-starter-logging-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/Users/david/workspace/dev/lib/maven_repo/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/slf4j-api/1.7.22/slf4j-api-1.7.22.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Users/david/workspace/dev/lib/maven_repo/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-core/4.3.11.RELEASE/spring-core-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter-web/1.5.7.RELEASE/spring-boot-starter-web-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/boot/spring-boot-starter-tomcat/1.5.7.RELEASE/spring-boot-starter-tomcat-1.5.7.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/tomcat/embed/tomcat-embed-core/8.5.20/tomcat-embed-core-8.5.20.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/tomcat/embed/tomcat-embed-el/8.5.20/tomcat-embed-el-8.5.20.jar:/Users/david/workspace/dev/lib/maven_repo/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.20/tomcat-embed-websocket-8.5.20.jar:/Users/david/workspace/dev/lib/maven_repo/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar:/Users/david/workspace/dev/lib/maven_repo/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/Users/david/workspace/dev/lib/maven_repo/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/classmate/1.3.1/classmate-1.3.1.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar:/Users/david/workspace/dev/lib/maven_repo/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-web/4.3.11.RELEASE/spring-web-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-aop/4.3.11.RELEASE/spring-aop-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-beans/4.3.11.RELEASE/spring-beans-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-webmvc/4.3.11.RELEASE/spring-webmvc-4.3.11.RELEASE.jar:/Users/david/workspace/dev/lib/maven_repo/org/springframework/spring-expression/4.3.11.RELEASE/spring-expression-4.3.11.RELEASE.jar com.dubbo.spi.demo.consumer.ConsumerApp
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Ljava/util/List;)V
	at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:394)
	at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:383)
	at org.springframework.boot.SpringApplication.initialize(SpringApplication.java:249)
	at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:225)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
	at com.dubbo.spi.demo.consumer.ConsumerApp.main(ConsumerApp.java:9)

Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant