Error when creating databse reader
I am new to GeoIP and am trying to set up a test app to try it out on the free databases. I have imported the DatabaseReader class as well as the DatabaseReader.Builder class, and when I create a DatabaseReader object the I get an error that says:
Exception in thread "main" java.lang.NoClassDefFoundError: com/maxmind/db/Reader$FileMode
at com.maxmind.geoip2.DatabaseReader$Builder.
I am not sure why this is, I have a File object pointing to my database and have no errors there. And I have properly added the GeoIP2.jar file to my project. Has anyone seen this error before?

Have you imported the underlying DB reader classes?
I am not sure which you are referring too, however here is a screen shot of my imports

I have imported both DatabaseReader and DatabaseReader.Builder classes. Are those what you are referring to?
If you are not using Maven-compatible dependency management, please add all the jar files from the geoip2-*-with-dependencies.zip file on the releases page to your class path.
If you do want to use Maven dependencies, NetBeans makes it straightforward - once you add geoip2 as a dependency, building the project will pull in everything else that is needed. http://wiki.netbeans.org/QuickStartJavaMavenProject
I am going to close this. We updated the documentation to make it more clear how to use the JAR files directly without Maven or a compatible tool.