Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot be applied to

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 781
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot

Best regards
 
Prasad Krishnegowda
Ranch Hand
Posts: 667
4
Eclipse IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Having a method with this many arguments(18, i counted it.. ) is definitely not a good practice..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic