此错误不知如何解决:Caused by: java.lang.NumberFormatException: For input string: "on",找了许多地方,并未解决,
出现上图错误如何解决?
并且在修改信息时出现下图问题,
HTTP Status 500 – Internal Server Error
Type Exception Report
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
java.lang.NullPointerException
org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:180)
com.kaikeba.mvc.DispatcherServlet.service(DispatcherServlet.java:42)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
com.kaikeba.filter.CharSetFilter.doFilter(CharSetFilter.java:16)
Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/9.0.13