Hi,

I'm new to Heroku and I'm trying to follow the directions here:

https://devcenter.heroku.com/articles/clojure-web-application

I'm stuck at this point:

user=> (sql/with-connection (System/getenv "DATABASE_URL")
> (sql/create-table :testing [:data :text]))


I get the following error message:


org.postgresql.util.PSQLException: Something unusual has occured to cause 
> the driver to fail. Please report this exception. (NO_SOURCE_FILE:0)


I found someone else complaining about the same problem here:
http://stackoverflow.com/questions/10089969/leiningen-clojure-is-acting-weird-when-i-try-to-connect-to-postgresql-database

Based on that page, I tried the following:

export DATABASE_URL=jdbc:postgresql:shouter


Now I get a different error message:

java.lang.NullPointerException (NO_SOURCE_FILE:0)


I've tried this on Lion, Snow Leopard, and Ubuntu, all with the same result.

Can someone unstick me?

Thanks,
David

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/HKgTGPOk9zEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to