我收到此错误,但我不知道问题出在哪里。
我在Windows 7上运行。我已经尝试删除.activator,.ivy2,.sbt文件夹,我尝试再次下载该激活器,然后将变量System PATH修改为activator,以查找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”命令除外。
有什么线索吗?
最佳答案
您是否有机会尝试从Git Bash(MINGW32)运行运行激活程序?
如果是这样,请尝试从命令提示符运行它。
我不小心这样做了,并且得到了完全相同的错误,我也在Windows 7上,并且刚刚更新到Play Framework 2.4.0。