I am trying to run a sample from Google. To be precise, a sample cmdline of Google Calendar (http://samples.google-api-java-client.googlecode.com/hg/calendar-cmdline-sample/instructions.html)
I cloned the code, I created and compiled the code on the command line, and it ran successfully.
But now I have imported the project into eclipse and it will not start. I always get the error:
Error: Could not find or load main class Libs\Google
I tried googleing an error, but did not find a simulation situation. Anyone who can help me on the path to a solution because I cannot make heads or tails out of it.
I assume this is not a bug in the code, this is code from Google, and it worked when I compiled on the command line. So it must be something from an eclipse. I made an import of an existing maven project. It gave no errors or anything else, and then I tried to run with the error above as a result.
thanks! (if you need more information, please ask in the comments and I will provide)
UPDATE:
I have installed
Eclipse Juno Version Version: 4.2.1
M2e 1.2 plugin (Maven integration for eclipse)
Apache Maven version 3.0.4.
UPDATE 2:
I also noticed that when I try to open pom.xml in eclipse I get an error.
An error has occurred. See error log for more details. java.lang.NullPointerException
More detailed information