79102984

Date: 2024-10-18 16:59:14
Score: 0.5
Natty:
Report link

This error occurs because you specified MessageDigest as a parameter to the ServerController.myHash() method. So when you send a request to your application, Spring tries to create an instance of MessageDigest, but it can't do so because MessageDigest doesn't have an accessible constructor. You should remove MessageDigest from the parameters and move the MessageDigest creation code from the SslServerApplication.main() method to ServerController.myHash().

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrey Smelik