异常
sotong006
java
展开
-
常见异常
异常 Exception *输入输出异常:IOException |——文件已结束异常:EOFException |——文件未找到异常:FileNotFoundException *运行时异常RuntimeException |——算术异常类:ArithmeticExecption |——空指针异常类:NullPointerException |——类型转换异常:ClassCastExc...原创 2018-06-22 14:08:34 · 162 阅读 · 0 评论 -
异常---jsp文件过大,is exceeding 65535 bytes limit
Generated servlet error:The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit。原因:你的jsp编译成的class文件太大。2017-06-05 15:11:20 [org.apache.struts2.di...原创 2018-11-16 09:15:25 · 3212 阅读 · 0 评论 -
localhost可以访问,127.0.0.1和本地IP无法访问
解决方案:在tomcat的配置文件 service.xml加上 address="0.0.0.0" <Connector address="0.0.0.0" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" /> ...原创 2018-12-10 17:37:24 · 4748 阅读 · 0 评论