This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes cannot be applied to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "cannot be applied to" Watch "cannot be applied to" New topic
Author

cannot be applied to

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,

I am getting the following error:

This is my first piece of code:

This is the method that am calling


I checked a lot but unable to see the error in my code

Best regards
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

The two signatures shown in
are definitely not compatible so I suspect you are using an out of date class file.

Clear out all your class files, jar files and war files and re-build and re-deploy everything.


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Thanks a lot

Best regards
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 539

Having a method with this many arguments(18, i counted it.. ) is definitely not a good practice..
 
wood burning stoves
 
subject: cannot be applied to