mirror of https://github.com/sbt/sbt.git
There seems to be an issue with the discovery of auto plugins in an inner nested class. The error you would get is: [info] java.lang.ClassNotFoundException: sbttest.Imports.A$ [info] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [info] at java.security.AccessController.doPrivileged(Native Method) [info] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [info] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [info] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [info] at java.lang.Class.forName0(Native Method) [info] at java.lang.Class.forName(Class.java:249) [info] at sbt.internal.inc.ModuleUtilities$.getObject(ModuleUtilities.scala:16) [info] at sbt.internal.inc.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala :22) [info] at sbt.internal.inc.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(Modu leUtilities.scala:25) [info] at sbt.internal.inc.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(Modu leUtilities.scala:25) [info] at scala.collection.immutable.Stream.map(Stream.scala:418) [info] at sbt.internal.inc.ModuleUtilities$.getCheckedObjects(ModuleUtilities.scal a:25) [info] at sbt.PluginDiscovery$.loadModules(PluginDiscovery.scala:138) [info] at sbt.PluginDiscovery$.binarySourceModules(PluginDiscovery.scala:132) [info] at sbt.PluginDiscovery$.discover$1(PluginDiscovery.scala:36) [info] at sbt.PluginDiscovery$.discoverAll(PluginDiscovery.scala:45) [info] at sbt.internal.Load$.loadPlugins(Load.scala:856) |
||
|---|---|---|
| launch | ||
| licenses | ||
| main | ||
| notes | ||
| project | ||
| run | ||
| sbt | ||
| scripted | ||
| src/main/conscript | ||
| tasks | ||
| testing | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| ISSUE_TEMPLATE.md | ||
| LICENSE | ||
| MIGRATION.md | ||
| NOTICE | ||
| PULL_REQUEST_TEMPLATE.md | ||
| README.md | ||
| api.specification | ||
| build.sbt | ||
| scripted.specification | ||
README.md
sbt
sbt is a build tool for Scala, Java, and more.
For general documentation, see http://www.scala-sbt.org/.
Issues and Pull Requests
Please read CONTRIBUTING carefully before opening a GitHub Issue.
The short version: try searching or asking on StackOverflow and sbt-dev. Don't open an Issue.
sbt 1.0.x
This is the 1.0.x series of sbt.
- Setup: Describes getting started with the latest binary release.
- FAQ: Explains how to get help and more.
- Google Code: hosts sbt 0.7.7 and earlier versions
license
See LICENSE.