我收到此错误,但我不知道问题出在哪里。
我在Windows 7上运行。我已经尝试删除文件夹.activator,.ivy2,.sbt,我尝试再次下载激活器,并将变量系统PATH修改为激活器,试图找到jdk的任何问题或jre,但没有。
$ activator
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.<init>(Unknown Source)
at sbt.Classpaths$.sbt$Classpaths$$bootRepository(Defaults.scala:1758)
at sbt.Classpaths$$anonfun$appRepositories$1.apply(Defaults.scala:1729)
at sbt.Classpaths$$anonfun$appRepositories$1.apply(Defaults.scala:1729)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:34)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at sbt.Classpaths$.appRepositories(Defaults.scala:1729)
at sbt.Classpaths$$anonfun$41.apply(Defaults.scala:1102)
at sbt.Classpaths$$anonfun$41.apply(Defaults.scala:1102)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175)
at sbt.EvaluateSettings$INode.evaluate(INode.scala:135)
at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:69)
at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:78)
at sbt.EvaluateSettings$$anon$3.run(INode.scala:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[error] java.lang.IllegalArgumentException: URI has an authority component
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
当我打开.bat时,我收到此消息:
The system cannot find file C:\Users\XXX\.activator\1.3.2\activatorconfig.txt
The system cannot find file C:\Users\XXX\.activator\activatorconfig.txt
无论我发送给激活器的命令是什么,都会返回此错误,“new”命令除外。
任何线索?
答案 0 :(得分:0)
你有没有机会尝试从Git Bash(MINGW32)运行Activator?
如果是这样,请尝试从命令提示符运行它。
我意外地做了这个并且得到了完全相同的错误,我也在Windows 7上,并且刚刚更新到Play Framework 2.4.0。