java - dependency (for sun.security.util) of SBT build -
i using sbt
build scala
project. have java
code in project.
when run build following error:
error: package sun.security.util not exist [error] import sun.security.util.objectidentifier;
i understand need declare dependency sun.security.util
, don't know dependency should depend on?
my build.sbt contains:
librarydependencies ++= seq("org.springframework" % "spring-dao" % 2.0.8",)
my jdk version "1.7.0_25". need use sun.security.util
package. link said not guaranteed in jdk. how can declare dependency make work? mean, name of dependency should add?
packages in sun.* not guaranteed work everywhere. thus, not recommended use these packages, unless jvm running code under control.
check out http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html more information.
Comments
Post a Comment