gpt4 book ai didi

java - 安装后UnsatisfiedLinkError,无法运行PLAY

转载 作者:太空宇宙 更新时间:2023-11-04 07:28:14 28 4
gpt4 key购买 nike

我陷入了最开始的一步。我只是安装 JDK 和 Play,在 PATH 变量中添加了所有必需的目录。当我运行 PLAY 命令时,我收到下面提到的 UnsatisfiedLinkError 。请让我知道如何解决这个问题。

运行 Windows 8 x64 且 PATH 目录为

C:\iSanthosh\dev.tools\play-2.1.3\;C:\Program Files\Java\jdk1.7.0_25\jre\bin;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files\Java\jre7\bin;

错误:

java.lang.UnsatisfiedLinkError: C:\Users\Santhosh\AppData\Local\Temp\jline_0_12_2.dll: Access is denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
at jline.Terminal.setupTerminal(Terminal.java:75)
at jline.Terminal.getTerminal(Terminal.java:26)
at jline.ConsoleReader.<init>(ConsoleReader.java:174)
at jline.ConsoleReader.<init>(ConsoleReader.java:169)
at jline.ConsoleReader.<init>(ConsoleReader.java:157)
at play.console.Console$.<init>(Console.scala:15)
at play.console.Console$.<clinit>(Console.scala)
at play.console.Console.run(Console.scala:262)
at play.console.Console.run(Console.scala:259)
at xsbt.boot.Launch$.run(Launch.scala:55)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:69)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.lang.UnsatisfiedLinkError: C:\Users\Santhosh\AppData\Local\Temp\jline_0_12_2.dll: Access is denied

最佳答案

更改您对该文件夹的权限,或者您可以使用sudo

sudo play

关于java - 安装后UnsatisfiedLinkError,无法运行PLAY,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18197121/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com