编译器镜像中的对象java

编译器镜像中的对象java

本文介绍了尝试在激活器UI中运行Pay Java Seed时缺少依赖项“编译器镜像中的对象java.lang.Object"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我是Play框架的新手.我正在尝试运行Play Java Seed,但构建失败,并显示错误"/home/saipreethi/.sbt/boot/scala-2.10.4/lib/scala必需的错误编译器镜像中缺少依赖对象java.lang.Object" -library.jar(scala/package.class)

I am new to Play framework. I am trying to run Play Java Seed but the build fails with the error "Missing dependency object java.lang.Object in compiler mirror", required by /home/saipreethi/.sbt/boot/scala-2.10.4/lib/scala-library.jar(scala/package.class)

推荐答案

好吧,终于知道了.该问题是由于Java版本引起的.我当时使用的是openjdk9.但是事实证明Play框架可以与Oracle的Java 8一起使用.这导致了构建错误.

Okay finally figured it out. The problem was due to Java version. I was using openjdk 9. But turns out Play framework works with Oracle's Java 8. This was causing the build error.

这篇关于尝试在激活器UI中运行Pay Java Seed时缺少依赖项“编译器镜像中的对象java.lang.Object"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 08:56