运行IDEA Scala Worksheet时是否可以更改类路径?无论我尝试什么,类路径似乎都是这样修复的:
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/lib/tools.jar
/Applications/IntelliJ IDEA 14.app/Contents/lib/jps-server.jar
/Applications/IntelliJ IDEA 14.app/Contents/lib/trove4j.jar
/Applications/IntelliJ IDEA 14.app/Contents/lib/util.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/scala-library.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/scala-nailgun-runner.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/compiler-settings.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/jps/nailgun.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/jps/sbt-interface.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/jps/incremental-compiler.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/jps/jline.jar
/Users/huyle/Library/Application Support/IntelliJIdea14/Scala/lib/jps/scala-jps-plugin.jar
答案 0 :(得分:2)
这是错误SCL-6726。我建议您在找到错误时报告错误,或者如果已经报告错误,则对其进行投票,以便Intellij开发人员可以优先考虑他们(可能是大规模的)工作队列。
答案 1 :(得分:1)
如果在sbt项目中创建工作表,则会在工作表的类路径中获得sbt项目的所有依赖项。