Barcode Printing


UNKNOWN_ERROR - HttpRequestMethodNotSupportedException: Request method 'GET' not supported

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported\r\n\tat org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java.......

Resolution

Make sure Google Chrome browser is updated to latest version.


UNKNOWN_ERROR - HttpMessageNotReadableException: Could not read document

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Can not construct instance of com.nextscm.print.model.PrintStringForm: no String-argument constructor/factory method to deserialize from String value ('{\"dataString\":......

Resolution

Do a logout  and re-login and do a hard refresh of the UI so that new code is loaded in browser memory (key combination Ctrl + Shift + R).


ERROR - Unable to connect to server

  1. Either print app is not running on the system
  2. Or, url is not on HTTPS protocol