2016-08-17 63 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了解更多详情。

相关问题