When I am trying initialize Tomcat server, I get the error:
HTTP Status 500 – Internal Server Error
Type Exception Report
Message java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:0:1"
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:0:1" org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:606) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:482) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) Root Cause
java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:0:1" java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68) java.base/java.lang.Integer.parseInt(Integer.java:658) java.base/java.lang.Integer.parseInt(Integer.java:776) org.apache.jsp.index_jsp.validateInetAddress(index_jsp.java:466) org.apache.jsp.index_jsp.ValidateIP(index_jsp.java:405) org.apache.jsp.index_jsp._jspService(index_jsp.java:768) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:444) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) Note The full stack trace of the root cause is available in the server logs.
What is the problem? How to fix it ?