在Windows 7上的命令行工具中鍵入激活ui中給我以下錯誤消息。activator ui java.io文件未找到異常
C:\Program Files\activator-dist-1.3.6>activator ui
Found previous process id: 4164
Local repository: activator-launcher-local @ file:////C:/Program%20Files/activat
or-dist-1.3.6/repository
Play server process ID is 4068
java.io.FileNotFoundException: C:\Program Files\activator-dist-1.3.6\RUNNING_PID
(Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at play.core.server.NettyServer$$anonfun$createServer$1.apply(NettyServe
r.scala:242)
at play.core.server.NettyServer$$anonfun$createServer$1.apply(NettyServe
r.scala:230)
at scala.Option.map(Option.scala:146)
at play.core.server.NettyServer$.createServer(NettyServer.scala:230)
at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:
289)
at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:
284)
at scala.Option.map(Option.scala:146)
at play.core.server.NettyServer$.main(NettyServer.scala:284)
at activator.UIMain$$anonfun$run$1.apply$mcV$sp(UIMain.scala:106)
at activator.UIMain$$anonfun$run$1.apply(UIMain.scala:106)
at activator.UIMain$$anonfun$run$1.apply(UIMain.scala:106)
at activator.UIMain.withContextClassloader(UIMain.scala:217)
at activator.UIMain.run(UIMain.scala:106)
at activator.UIMain.run(UIMain.scala:86)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
at xsbt.boot.Launch$.run(Launch.scala:109)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
at xsbt.boot.Launch$.launch(Launch.scala:117)
at xsbt.boot.Launch$.apply(Launch.scala:18)
at xsbt.boot.Boot$.runImpl(Boot.scala:41)
at xsbt.boot.Boot$.main(Boot.scala:17)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.io.FileNotFoundException: C:\Program Files\acti
vator-dist-1.3.6\RUNNING_PID (Access is denied)
已經用Google搜索周圍我已經看到了類似的問題有類似的異常,我還沒有找到一個後處理與IM經歷,雖然這個問題。
編輯:我發現,如果我安裝最小激活器生成並運行以下命令:。激活器在瀏覽器中啓動,但在嘗試運行完整安裝版本時,出現上述錯誤。
這確實做了工作。確保沒有其他人訂閱了類型安全激活器使用的默認端口,否則它將無法啓動。 – TheM00s3