dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.9k stars 2.06k forks source link

这是否是JDK版本的问题? #323

Closed SuitedRioter closed 7 years ago

SuitedRioter commented 7 years ago

Property 'logger' threw exception; nested exception is java.lang.IllegalStateException: Extension instance(name: slf4j, class: interface com.alibaba.dubbo.common.logger.LoggerAdapter) could not be instantiated: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;

我在JDK8的机器上可以启动项目,但是在JDK7的机器上怎么都起不来,除非换成2.5.3版本的dubbo

SuitedRioter commented 7 years ago

已经解决,由于我再JDK8的机器上编译了,而再次在jdk7的机器上编译dubbox时,没有clean。导致编译的class都是jdk8编译的。所以以为JDK7编译的dubbox还是无法执行。