我有一个Play 2.2.2项目,我通常使用激活器 1.3.12运行。现在我更新到Java 11并且激活器抱怨如下:
The java installation you have is not up to date
activator requires at least version 1.6+, you have
version 11
Please go to http://www.java.com/getjava/ and download
a valid Java Runtime and install before running activator.
如果我尝试直接使用sbt 1.2.4运行应用程序,则会收到未解决的依赖路径错误
Note: Unresolved dependencies path:
[warn] com.typesafe.play:sbt-plugin:2.2.2 (scalaVersion=2.12, sbtVersion=1.0) (/myProject/project/plugins.sbt#L8-9)
[warn] +- default:myProject-build:0.1.0-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.2.2: not found
有没有人对如何让这个旧项目在 Java 11 下运行有任何建议?
白衣染霜花
相关分类