初学java idea 调试时发现 直接运行可以,但是debug启动不了,debug运行时,电脑负荷增加,明显是有异常了,但是debug信息时正常的。
run信息界面显示异常:
未知异常!原因是:org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character (‘,’ (code 44)): expected a value; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character (‘,’ (code 44)): expected a value
at [Source: (PushbackInputStream); line: 6, column: 9]
log4j:WARN No appenders could be found for logger (druid.sql.Connection).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
最后发现是断点问题,取消所有断点之后,运行正常了。