java - Spring POST Request IllegalStateException -
i have got java rest service in spring. everything's working fine, yesterday modified service worked fine before. still working, everything, when want save html form (and send server), exception. debugged dont it. every value seems transferred correct. , not find "private call" too. exception is:
2015-05-29 14:00:20.853 warn 2623 --- [nio-9000-exec-3] .c.j.mappingjackson2httpmessageconverter : failed evaluate serialization type [void]: java.lang.illegalstateexception: failed instantiate standard serializer (of type com.fasterxml.jackson.databind.ser.std.nullserializer): class com.fasterxml.jackson.databind.ser.basicserializerfactory can not access member of class com.fasterxml.jackson.databind.ser.std.nullserializer modifiers "private"
ok know bit time has gone now, solved
migration of spring 3.2 4.1.1: trouble json serialization
the magic code line was:
@responsestatus(value = httpstatus.ok)
at controller, because returned "void", nothing. responses "ok" message , works :) anyway
Comments
Post a Comment