RESTFULL项目导入说明
《JAVARESTFULL WEB SERVICE 实战》第二版
日期:20161116广州1环境
序号 |
软件 |
版本 |
1 |
Jdk |
1.8 |
2 |
Eclipse |
4.6.1 |
3 |
Maven |
3.3.9 |
|
|
|
2 导入项目
2.1复制源代码到电脑上
D:\java_project\workspace\jersey启动 ECLIPSE 指定WORKSPACE 为此目录
2.2 导入项目
3问题处理
Description Resource Path Location Type
The superclass"javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /1.6.1.myrest-servlet2-webxml/src/main/webapp line 1 JSPProblem
修改pom.xml 增加如下内容:
<!-- 编译时提示inex.jsp html 标签需要用到