좋은자료 - Eclipse에서 Maven을 활용해서 Dynamic Web Project 만들기
[원제] How to Create Dynamic Web Project using Maven in Eclipse?
[주소] http://crunfy.me/14KewSX
Step-1
Create a simple maven Project in Eclipse.
Step-2
Select default Workspace location
Step-3
Select the maven archetype as: maven-archetype-webapp
and click on next.
Step-4
Fill out below details and click Finish. This step creates Maven Project
in your Eclipse Environment
.
Step-5
If you see error “The superclass “
javax.servlet.http.HttpServlet
” was not found on the Java Build Path index.jsp /CrunchifyMavenTutorial/src/main/webapp” then add below maven dependency.add Apache Tomcat to your Targeted Runtimes
.
Step-6
Your Maven Project should look like this.
Step-7
Now build project with “Maven Clean Install
” to check there isn’t any dependency issue with project.
Step-8
Deploy Application on Apache Tomcat Server.
Step-9
Visit http://localhost:8080/CrunchifyMavenTutorial/index.jsp
to see your result.
'0.일반개발' 카테고리의 다른 글
NodeJs_SocketIO_PartOne (1) | 2016.04.21 |
---|---|
PGAdmin 서버 연결 정보 추출 (0) | 2016.03.15 |
mongoDB (0) | 2015.12.16 |
node.js를 centos 7에 설치하는 방법 (0) | 2015.12.03 |
60초안에 리눅스 성능 분석하기 (0) | 2015.12.03 |