org.checkerframework compiler 1.9.0 OSS Sonatype

Missing this class?Import into your dependency manager

libraryDependencies += "org.checkerframework" % "compiler" % "1.9.0"
compile group: 'org.checkerframework', name: 'compiler', version: '1.9.0'
<dependency org="org.eclipse.aether" name="aether-api" rev="1.1.0"/>


Exception HelperAre you having an exception like the following?

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/file/BaseFileObject
Caused by: java.lang.ClassNotFoundException:

To resolve the exception:

  1. Download this package from OSS Sonatype
    If you're using a dependency manager (Maven, SBT, Ivy, Gradle, etc.) copy and paste the respective snippet above into your project file. If you're using a dependency manager, that's all there is to resolving this exception.
  2. Include the downloaded package in your classpath when running Java. For example, if you're starting your program on the command line like so:
    java -jar my-jar.jar
    , you would add this package to the classpath like so:
    java -cp /path/to/downloaded/file/compiler-1.9.0.jar -jar my-jar.jar

Resolving the ArtifactYou may need to add this declaration to your project file to resolve the dependency for this class.

        <name>OSS Sonatype</name>
resolvers += "OSS Sonatype" at ""
repositories {
    maven {
        url ""
    <ibiblio name="OSS Sonatype" root="" m2compatible="true" />
©2016 Samuel Nelson