wood burning stoves 2.0
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
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: 833

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: 833
Thanks a lot

Best regards
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 662

Having a method with this many arguments(18, i counted it.. ) is definitely not a good practice..
I agree. Here's the link: http://aspose.com/file-tools
subject: cannot be applied to
It's not a secret anymore!