日期:2014-05-16  浏览次数:20302 次

搭配jsp开发环境
第一天来公司实习,带来自己的电脑,让我做一个未完成的项目,一个基于jsp的人事管理项目,真的是不知道怎么办,没学过这个,只能硬着头皮了,这样学得也快嘛。搭建开发环境的时候遇到问题了,因为之前我的电脑中已经搭建好了android的开发环境,使用的是eclipse,我直接安装mysql,但是报错
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet.ServletRequest. Fix the build path then try building this project yuanchung_oa Unknown Java Problem


Description Resource Path Location Type
The type javax.servlet.ServletRequest cannot be resolved. It is indirectly referenced from required .class files SetCharacterEncodingFilter.java /yuanchung_oa/src/com/yuanchung/oa/util/filter line 1 Java Problem

大概就是找不到servlet这个类

自己百度。。。。。有人说要用myeclipse,试一试吧,果然是这个原因,不知道为什么eclipse不行

安装过程很忙,但是安装后导入过程没有报错,应该就是这个问题了。

,再安装tomcat,

最后导入数据库

打开IE,输入地址,可以了。