• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot make a static reference to the non-static method  RSS feed

 
Michael Piaser
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't figure out what this error message "Cannot make a static reference to the non-static method getEndUserCharge(long, long, long, long) from the type UpdateUserWS" actually means.

The error is coming from:
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, the getEndUserCharge() method is *not* a static method. You need to call it with an instance of an UpdateUserWS class.

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!