2016-08-17 251 views
0

我在sbt安裝後試圖命令sbt package,它拋出以下錯誤。sbt在啓動時拋出錯誤

Getting org.scala-sbt sbt 0.13.12 ... 
java.lang.InternalError 
     at sun.security.ec.SunEC.initialize(Native Method) 
     at sun.security.ec.SunEC.access$000(SunEC.java:49) 
     at sun.security.ec.SunEC$1.run(SunEC.java:61) 
     at sun.security.ec.SunEC$1.run(SunEC.java:58) 
     at java.security.AccessController.doPrivileged(Native Method) 
     at sun.security.ec.SunEC.<clinit>(SunEC.java:58) 
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 
     at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 
     at java.lang.Class.newInstance(Class.java:383) 
     at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) 
     at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) 
     at java.security.AccessController.doPrivileged(Native Method) 
     at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) 
     at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58) 
     at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48) 
     at xsbt.boot.Locks$.apply0(Locks.scala:31) 
     at xsbt.boot.Locks$.apply(Locks.scala:28) 
     at xsbt.boot.Launch.locked(Launch.scala:238) 
     at xsbt.boot.Launch.app(Launch.scala:147) 
     at xsbt.boot.Launch.app(Launch.scala:145) 
     at xsbt.boot.Launch$.run(Launch.scala:102) 
     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.lang.InternalError 

我使用的是RHEL 6.5,而我的Java版本是java version "1.7.0_111"。幫我解決這個錯誤。

+0

您的JVM安裝存在問題;它看起來像一個SSL密碼庫沒有正確鏈接。 – chrylis

+0

感謝chrylis,我重新安裝了jvm,現在我得到未解決的依賴性錯誤。 – Samsudhin

+0

你從哪裏安裝Java?你能顯示新的錯誤信息嗎? – davidrpugh

回答

1

我正在使用openSuse Leap,並且今天同時使用了最後一個openJDK8和oracleJDK8以及sbt和「java.lang.InternalError」。

什麼幫助我進行系統更新。它看起來像需要更新的NSS庫,請檢查https://bugzilla.redhat.com/show_bug.cgi?id=1332456瞭解更多詳情。

相關問題