Archive

Archive for the ‘Eclipse’ Category

Eclipse와 Tomcat 연동

June 21st, 2010 Kim Jong-sun Comments off

1. Tomcat 6.0 다운로드

http://tomcat.apache.org/

2. 적당한 위치에 다운로드 받은 압축파일을 풀고 폴더명을 tomcat으로 변경

3. tomcat\conf\server.xml 파일 편집

port를 8888로 변경(8080포트가 oracle과 충돌되므로), URIEncoding=”euc-kr” 추가(한글처리)

4. tomcat\conf\context.xml 파일 편집

reloadable=”true” 추가

5. Eclipse 메뉴 Window -> Open perspective -> Servers 추가

Eclipse 아래 Servers 탭에서 마우스 오른쪽 버튼 클릭하여 new -> apache -> tomcat6.0 선택

Tomcat Installation directory 에서 browse 눌러 tomcat 디렉토리 선택

JRE는 자신의 JDK를 선택 후 Finish

그러면 Servers 탭에 생성한 Tomcat 항목이 생긴다.

6. Tomcat 항목 더블클릭

Overview 에서 Server Locations 를 Use Tomcat installation 선택,

Deploy path 를 자신의 tomcat\webapps로 변경 후 ctrl + s 저장하기

마지막으로 Servers 탭의 tomcat 항목 선택 후 마우스 오른쪽 버튼 클릭

메뉴에서 start 버튼을 누르면 tomcat이 실행된다.

http://localhost:8888/ 로 접속하여 제대로 tomcat이 실행되는지 확인한다.

  • Google Bookmarks
  • Google Reader
  • Twitter
  • Facebook
  • Google Buzz
  • WordPress
  • Share/Bookmark
Categories: Eclipse, JSP&Servlet Tags:

eclipse encoding 변경

March 10th, 2010 Kim Jong-sun Comments off

Java 소스 기본 인코딩 변경

Window -> Preferences -> General -> Content Types 에서

Text -> Java Source File 을 선택

Default encoding 에 UTF-8 을 추가 후 “Update” 를 누른다. 그리고 “OK”!

  • Google Bookmarks
  • Google Reader
  • Twitter
  • Facebook
  • Google Buzz
  • WordPress
  • Share/Bookmark
Categories: Eclipse Tags:

Android requires .class compatibility set to 5.0. Please fix project properties.

November 8th, 2009 Kim Jong-sun Comments off

Android requires .class compatibility set to 5.0. Please fix project properties.

위와 같은 오류 발생 시

Project 에서 마우스 오른쪽 클릭 -> Android Tool -> Fix Project Properties

를 클릭해주면 문제해결

  • Google Bookmarks
  • Google Reader
  • Twitter
  • Facebook
  • Google Buzz
  • WordPress
  • Share/Bookmark
Categories: Eclipse Tags: