This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "cannot be applied to" Watch "cannot be applied to" New topic

cannot be applied to

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732

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: 507

Having a method with this many arguments(18, i counted it.. ) is definitely not a good practice..

Regards, Prasad
SCJP 5 (93%)
Consider Paul's rocket mass heater.
subject: cannot be applied to
Similar Threads
Problem with adding months to Gregorian Calender
Help Needed
Calculate date
A page not found error
Get the day