【发布时间】:2016-06-03 23:52:58
【问题描述】:
运行 eureka 客户端发现示例代码时出现以下错误。
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/netflix/servo/monitor/Monitors : Unsupported major.minor version 52.0
我猜这可能是因为 eureka 是用 Java 8 (52) 编译的。 但这是否意味着我们不能在 JDK 1.7 中使用它?我的项目在 JDK7 中,是否可以使用 JDK 1.7 运行 eureka(1) ?
【问题讨论】:
标签: java compiler-errors microservices netflix-eureka