I'm trying out the jets3t library for handling S3 storage. But when I
try to make calls to methods in the library I get:
AWSCredentials does not have a constructor.

Here's my code:

package s3test

object Main {

import org.jets3t.service.S3Service
import org.jets3t.service.S3ServiceException
import org.jets3t.service.impl.rest.httpclient.RestS3Service
import org.jets3t.service.model.S3Bucket
import org.jets3t.service.security.AWSCredentials

  def main(args: Array[String]) :Unit = {
    val awsAccessKey = "0MC80SD02DQTGPP5XZ02"
    val awsSecretKey = "EZDhuveb/94Fibwu48SCKVuiCV4T3PGlkYQTWdCr"
    var awsCredentials = new AWSCredentials(awsAccessKey,
awsSecretKey)
    println("")

  }

}

I've tried the equivalent code in Java, and that works, so the library
should be imported correctly. (Using NetBeans)

Have anybody succeeded using this library ? Doe's anybody know what's
going on here ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to