播放框架和scala

时间:2014-11-08 00:27:27

标签: scala intellij-idea playframework

我是Web开发的新手,我正在尝试使用play框架,但是当我尝试使用命令时:avtivator new来创建一个新项目我收到以下错误:

    $ activator new
java.lang.ExceptionInInitializerError
        at activator.ActivatorCli$$anonfun$apply$1.apply$mcI$sp(ActivatorCli.sca
la:21)
        at activator.ActivatorCli$$anonfun$apply$1.apply(ActivatorCli.scala:19)
        at activator.ActivatorCli$$anonfun$apply$1.apply(ActivatorCli.scala:19)
        at activator.ActivatorCli$.withContextClassloader(ActivatorCli.scala:179
)
        at activator.ActivatorCli$.apply(ActivatorCli.scala:19)
        at activator.ActivatorLauncher.run(ActivatorLauncher.scala:28)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:129)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:36)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:19)
        at xsbt.boot.Boot$.runImpl(Boot.scala:44)
        at xsbt.boot.Boot$.main(Boot.scala:20)
        at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.lang.RuntimeException: BAD URI: file://c:/Users/Euaggelos/Docume
nts/Weather-fi2/Weather-fi2

        at activator.properties.ActivatorProperties.uriToFilename(ActivatorPrope
rties.java:106)
        at activator.properties.ActivatorProperties.ACTIVATOR_HOME_FILENAME(Acti
vatorProperties.java:113)
        at activator.properties.ActivatorProperties.ACTIVATOR_TEMPLATE_LOCAL_REP
O(ActivatorProperties.java:179)
        at activator.UICacheHelper$.<init>(UICacheHelper.scala:31)
        at activator.UICacheHelper$.<clinit>(UICacheHelper.scala)
        ... 15 more
Caused by: java.lang.IllegalArgumentException: URI has an authority component
        at java.io.File.<init>(File.java:423)
        at activator.properties.ActivatorProperties.uriToFilename(ActivatorPrope
rties.java:101)
        ... 19 more
Error during sbt execution: java.lang.ExceptionInInitializerError

我有Windows 8.1 64位,我希望能够使用Intellije,我已经安装了java,sbt和scala

java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Scala code runner version 2.11.4 -- Copyright 2002-2013, LAMP/EPFL

欢迎任何建议。

0 个答案:

没有答案