Wrapper cannot find servlet class DepServlet or a class it depends on

来源:互联网 发布:python web 框架 编辑:程序博客网 时间:2024/05/19 05:02

在进行servlet调用的时候,如果出现上述错误提示

首先:检查你的servlet配置有木有写错,必须是完整的包名+类名

其次:确保你的servlet编译之后的class文件一定存在(根据你的build path设置的来,有可能在项目\build\classes里面,也有可能在webcontent\bulid\classes里面)

最后如果发现你的class不存在的话,可以检查下你的eclipse 的project->build automatically设置是否已经勾选上了。

0 0
原创粉丝点击