在eclipse下运行正常,部署之后貌似解析json的JAR包里使用的一个JAVA.IO找不到~~求解
错误如下:
HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionjava.lang.NullPointerException
java.io.StringReader.<init>(Unknown Source)
org.json.JSONTokener.<init>(JSONTokener.java:84)
org.json.JSONArray.<init>(JSONArray.java:144)
com.will.uias.servlet.ServerForApp.doPost(ServerForApp.java:103)
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.Apache Tomcat/7.0.23
错误如下:
HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionjava.lang.NullPointerException
java.io.StringReader.<init>(Unknown Source)
org.json.JSONTokener.<init>(JSONTokener.java:84)
org.json.JSONArray.<init>(JSONArray.java:144)
com.will.uias.servlet.ServerForApp.doPost(ServerForApp.java:103)
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.Apache Tomcat/7.0.23
解决方案 »
- 比较两个文本框输入时间前后
- 大家谈谈对ruby的看法................
- 路径问题
- 麻烦各位看下我要跳转到jsp页面为什么跳不过去呢?
- 怎样用java写一段备份MySQL数据库的代码,请高手指点
- 字符串的拆分问题!
- request.getHeader("REFERER")得到上一页面连接中文成问号了
- 郁闷,tomcat老说我HTTP Status 404是怎么回事啊..................
- 异常的处理
- 500 Unable to instantiate Action, QcrkAction, defined for 'QcrkAction' in namesp
- Servlet问题!
- 新人报道,问个问题,单用jsp可以做出视频网站吗。
LZ看看会不会是版本兼容性的问题。
错误如下:
HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionjava.lang.NullPointerException
java.io.StringReader.<init>(Unknown Source)
org.json.JSONTokener.<init>(JSONTokener.java:84)
org.json.JSONArray.<init>(JSONArray.java:144)
com.will.uias.servlet.ServerForApp.doPost(ServerForApp.java:103)ServerForApp.java:103行
而且使用的那个json文件jar也是官方的,StringReader也是JAVA.IO里呀~