I am using last.fm API from here http://code.google.com/p/lastfm-java/
I downloaded it to my workspace, checked it as library, and imported it to my project... The problem comes when I try to use one method of the API
Artist[] artist = LastFmServer.searchForArtist("hatebreed");
I dont know why, it says
Cannot make a static reference to the non-static method searchForArtist(String) from the type LastFmServer
But I have another error trying to solve it. It causes this line
String artist = Artist.getName();
Cannot make a static reference to the non-static method getName() from the type Artist
its my first time using APIs, and i started getting tired of these errors, please help