Computer/Web

Eclipse Dynamic Web Project를 Intellij로 옮길때 수정했던 내용

uwang 2017. 4. 28. 14:31

Eclipse Dynamic Web Project를 Intellij Web Project로 옮길때 수정했던 내용

1. import project

2. Servlet 오류나던 부분은 bug fix 이용해서 add jar

3. Project Structure - fix 클릭해서 artifacts 생성

4. tomcat 설정

- Edit Configuration - Deployment - +클릭 - Artifact - Application Context: /프로젝트명 으로 변경

5.  connection pool

-  Project Structure -> Modules -> Add Application Server specific descriptor

-> Application Server : tomcat -> META-INF에 context.xml 생성

-> context.xml 안에서 <Resource> 넣어서 설정

6. 이미지 path 설정 (MultipartRequest, cos.jar)

- Edit Configuration - Deployment - +클릭 - external source

- 이미지 저장하고자 하는 폴더 선택 - /Application context: /프로젝트명/upload



이클립스테서 JSP & Servlet으로 만든 게시판 프로젝트를 Spring으로 바꾸기전에 인텔리제이로 옮기면서 삽질했던거 ㅠㅠ