• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issues with google analytics-- program wont compile

 
new be
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to take data from google analytics and print
Hi,

I am trying to program a basic code to take information from google analytics and print it out. I wrote some code, whats wrong. (user/pass) removed for privacy reasons.

I am trying to make it all occur in one class for now (Its the beta version to make sure I can download information and use it before I start the real program). I just want to take information and print it out. I know the table id isn't set, but the program won't compile:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

at xyz.xyzStart.main(xyzStart.java:96)

------



[Added code tags - see UseCodeTags for details]
 
Matthew Brown
Bartender
Posts: 4567
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not a compilation error. That's an error you get from your IDE (Eclipse?) when you try to run something that didn't compile properly.

So try and compile it, rather than run it. That should give you the real compilation errors. If it's not clear what to do then, let us know what those errors are.

(You do realise that the main() method is empty, so a successful run wouldn't do anything anyway?)
 
Paul Clapham
Sheriff
Posts: 21000
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the code tags, that makes it much easier to read.

As for your error: it looks like you're trying to run the code in some IDE before compiling it. And so you just get a generic error which tells you that the code wasn't compiled successfully yet. You should compile the code first and see what kind of error messages you get.
 
new be
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im confused, ecliplse IDE does compile automatically doesn't it?


also when I try to select build under project it isn't highlighted it won't let me build.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic