forked from okjsp/okmakeover
-
Notifications
You must be signed in to change notification settings - Fork 0
Guide 개발 환경 설정 메뉴얼
정병태 edited this page Dec 27, 2013
·
2 revisions
- JDK 7
- Tomcat 7
- MariaDB 5.5
- Sevlet 2.5
- Spring Framework 3.2.0
- Spring MVC 3.2.0
- Spring Security 3.1.4
- Mybatis 3.2.3
- Sitemesh 2.4.2
- Log4j 1.2.17
- Tomcat 7 설치
- Download : http://tomcat.apache.org/download-70.cgi
- JDBC Driver 설치
- MariaDB JDBC Driver Download : https://mariadb.com/kb/en/about-the-mariadb-java-client/
- 다운로드한 jar 파일을 $TOMCAT_HOME/lib 에 복사
- JNDI 설정
- $TOMCAT_HOME/conf/context.xml 에 Resource 추가
<Resource name="jdbc/okjspWebDB" auth="Container" type="javax.sql.DataSource"
maxActive="10" maxIdle="1" maxWait="10000"
username="username" password="userpassword" driverClassName="org.mariadb.jdbc.Driver"
url="jdbc:mariadb://0.0.0.0:3306/dbname"/>
- Maven 설치
- Maven Integration for Eclipse 설치
- 프로젝트 import
- eclipse에서 file>import...
- Maven 아래에 Check out Maven Projects form SCM 선택
- SCM URL에 비어있으면 창 우측 하단에 Find more SCM connectors in the m2e Marketplace 링크 클릭
- git 주소(git://github.com/okjsp/okmakeover.git) 입력하고 import
- pom.xml 선택 완료