当前位置: 代码迷 >> Java Web开发 >> 新手提个有关问题,小弟我是用TOMCAT5.5的,这个异常是啥?请各位大大指教
  详细解决方案

新手提个有关问题,小弟我是用TOMCAT5.5的,这个异常是啥?请各位大大指教

热度:35   发布时间:2016-04-17 15:25:11.0
新手提个问题,我是用TOMCAT5.5的,这个错误是啥?请各位大大指教
我做了个JSP页面,当我输入信息要查询的时候
结果就报了这个错误,请问我servlet里大概出了啥错呢.....

type:   Exception   report

message  

description   :The   server   encountered   an   internal   error   ()   that   prevented   it   from   fulfilling   this   request.

exception  

javax.servlet.ServletException:   Error   allocating   a   servlet   instance



------解决方案--------------------
看控制台抱的错
------解决方案--------------------
你的servelet配置正确吗?在WEB.XML中注册了吗?应该是你的servelet配置的不对,你再好好看看该怎么配置
------解决方案--------------------
Google Illegal exception table range in class file Pet/PetServlet
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317