groovy « mongodb « Java Database Q&A





1. Problem with mongo-java-driver on MacOSX    stackoverflow.com

I can't connect to MongoDB from Groovy script. Env:

trnls-mbpro:test trnl$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.6.5
BuildVersion:   10H574
trnls-mbpro:test trnl$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) ...