Java chaincode error in Hyperledger fabric java sdk

Error in initializing java chaincode with java sdk. I looked at the java sdk example and made it as it is, and in a similar way node succeeded, but JAVA doesn’t know why not. The error says “transaction returned with failure: Undefined contract method called”. If anyone has initialized the Java chaincode with JAVA SDK, please explain. Thank you very much.

Do you need to execute tasks with percision and accuracy?

Grow and scale your organization easily by automating business crucial functions with Robotic Process Automation (RPA).