You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i execute the cURL command, i get the below error. Not sure what is the issue, i tried removing the Lombak dependencies from the ProductValue class but still no success.
curl -H "X-TENANT-ID: tenant1" -H "Content-Type: application/se.callista.blog.service.api.product.v1_0+json" -X POST -d '{"name":"Product 1"}' localhost:8080/products
2020-12-08 20:46:30.335 WARN 13848 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/se.callista.blog.service.api.product.v1_0+json;charset=UTF-8' not supported]
2020-12-08 20:46:30.365 WARN 13848 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type: class java.util.LinkedHashMap]
The text was updated successfully, but these errors were encountered:
When i execute the cURL command, i get the below error. Not sure what is the issue, i tried removing the Lombak dependencies from the ProductValue class but still no success.
curl -H "X-TENANT-ID: tenant1" -H "Content-Type: application/se.callista.blog.service.api.product.v1_0+json" -X POST -d '{"name":"Product 1"}' localhost:8080/products
2020-12-08 20:46:30.335 WARN 13848 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/se.callista.blog.service.api.product.v1_0+json;charset=UTF-8' not supported]
2020-12-08 20:46:30.365 WARN 13848 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type: class java.util.LinkedHashMap]
The text was updated successfully, but these errors were encountered: