title: IllegalAccessException .. can not access a member of class with modifiers "protected"
body: <p>this is my scala code . i am trying to ingest geotiff file into HDFS using the geotrellis library.  </p>
  
  <pre><code>package RasterDataIngest.RasterDataIngestIntoHadoop
  
  import geotrellis.spark._
  import geotrellis.spark.ingest._
  import geotrellis.spark.io.hadoop._
  import geotrellis.spark.io.index._
  import geotrellis.spark.tiling._
  import geotrellis.spark.utils.SparkUtils
  import geotrellis.vector._
  import org.apache.hadoop.fs.Path
  import org.apache.spark._
  import com.quantifind.sumac.ArgMain
  import com.quantifind.sumac.validation.Required
  
  class HadoopIngestArgs extends IngestArgs {
    @Required var catalog: String = _
    def catalogPath = new Path(catalog)
  }
  
  object HadoopIngest extends ArgMain[HadoopIngestArgs] with Logging {
    def main(args: HadoopIngestArgs): Unit = {
     System.setProperty("com.sun.media.jai.disableMediaLib", "true")
  
      implicit val sparkContext = SparkUtils.createSparkContext("Ingest")
      val conf = sparkContext.hadoopConfiguration
      conf.set("io.map.index.interval", "1")
  
      val catalog = HadoopRasterCatalog(args.catalogPath)
      val source = sparkContext.hadoopGeoTiffRDD(args.inPath)
      val layoutScheme = ZoomedLayoutScheme()
  
      Ingest[ProjectedExtent, SpatialKey](source, args.destCrs, layoutScheme, args.pyramid){ (rdd, level) =&gt; 
        catalog
          .writer[SpatialKey](RowMajorKeyIndexMethod, args.clobber)
          .write(LayerId(args.layerName, level.zoom), rdd)
      }
    }
  }
  </code></pre>
  
  <p>When i run this code , i get the following error.
  Please help me to solve this error.</p>
  
  <pre><code>java.lang.IllegalAccessException: Class org.osgeo.proj4j.Registry can not access a member of class org.osgeo.proj4j.proj.Projection with modifiers "protected"
  </code></pre>