During web development, an error like this occurred. I have changed the database and the beans.
The method setMa_oicq(int) in the type Masterbean is not applicable for the arguments (String)
The above error still occurs.
I’m not sure~~
Doesn’t the above sentence mean that I need to change setMa_oicq(int) in Mastebean?
~
It still doesn’t work after changing it~~~
The poster posted the wrong version, go to the java version Ask
The parameter you passed in is of type int but the method requires a string type, so the type is wrong
This should be somewhere, when assigning a value to a Javabean, the type No match. It is recommended to check the code used to assign values to Javabeans
You are wrong, you deserve so many medals. . . The original poster posted the wrong version, go to the java version and ask
Then I'll look for it. The parameter you passed in is of type int but the method requires a string type, so the type is wrong
Well, let me take a look again. Thank you. This should be because somewhere, when assigning values to Javabeans, the types do not match. It is recommended to check the code used to assign values to Javabeans