Java
![[Eclipse] 이클립스 한글 깨짐 (인코딩) 해결 (UTF-8)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fb9LwO0%2FbtsNDat847G%2F5W2G0sjAIoocvnXv5Wvb61%2Fimg.png)
[Eclipse] 이클립스 한글 깨짐 (인코딩) 해결 (UTF-8)
프로젝트 import 할때 한글이 깨지는 사례들이 종종있다.인코딩이 맞지 않아 발생하는 현상인데 프로젝트 개별로 인코딩을 맞추기보다이클립스 전체 인코딩을 적용하고자 한다. 1. [Window] > [Preferences]2. [ General] > [Content Types] > [Java Class File, Text 등] 사용하는 파일들을 Default encoding [utf-8] 설정 > [Update] > [Apply and Close]3. 확인 깨지던 한글이 정상적으로 적용 됨을 확인 할 수 있다
![[Error] Server was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor (서버 시작 45초 타임아웃 오류)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcO61wK%2FbtsNyvTuegY%2F8sBwNKUNf9o5IXNXlA4jak%2Fimg.png)
[Error] Server was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor (서버 시작 45초 타임아웃 오류)
[Error 내용]Server was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor[원인]톰캣 서버가 시작하는 데 45초 이상이 소요되어 발생[해결][Server] > [Tomcat] 더블클릭[Timeouts] > [Start] 숫자 변경
![[eclipse] Unknown version of Tomcat was specified.](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbJdI9K%2FbtsNvAzonPk%2F3ijhjwka7EbCQzpxaM2nFk%2Fimg.png)
[eclipse] Unknown version of Tomcat was specified.
새로운 업무배정으로 이클립스 설치 후 개발환경 설정을 하는데Unknown version of Tomcat was specified 오류가 뜬다[오류내용]Unknown version of Tomcat was specified [해결방법]Tomcat 설정 위치로 가서 클릭 하면 권한 에 대한 문구가 나온다권한 허용을 하면 아래와 같이 톰캣에 설치된 폴더에 대한 액세스 권한이 추가 된다 다시 이클립스로 돌아와 [Browse...] 버튼을 클릭하고 설치된 폴더를 선택하면 에러 메시지가 사라진다
![[Maven] 메이븐 오류 META-INF\\MANIFEST.MF (지정된 경로를 찾을 수 없습니다)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FMSaYg%2Fbtst0x1Oi02%2FIgzf9VK828YIsjgzkrSHek%2Fimg.png)
[Maven] 메이븐 오류 META-INF\\MANIFEST.MF (지정된 경로를 찾을 수 없습니다)
프로젝트 소스를 받고 Maven Update Project를 하니 pom.xml 에서 발생한 오류 \\target\\classe\\META-INF\\MANIFEST.MF (지정된 경로를 찾을 수 없습니다)[Error 내용]\\target\\classes\\META-INF\\MANIFEST.MF (지정된 경로를 찾을 수 없습니다) [해결]1. [Windows] > [Preferences] 클릭 2. [Maven] > [Java EE Integration] 클릭 3. Java EE Integratio - [WAR Project preferences] > [Maven Archiver generates files under the build directory] 체크박스 해제 4. [Maven Archiver..
![[Maven] 메이븐 오류 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FXkIlo%2FbtstRSzqH1C%2FOjZOMQ9DTOEb9pMdaBKfd0%2Fimg.png)
[Maven] 메이븐 오류 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[Error 내용]No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [해결]1. eclipse [Windows] > [Preferences] 클릭 2. [Java] > [Installed JREs] 클릭 3. jre 를 jdk 로 변경- [Java] > [Installed JREs 탭] > [Add] 클릭 4. installed JRE Types 선택- [Standard VM] > [Next] 클릭 5.[ Directory] 클릭 6. JDK 위치 설정 > [Finish] 클릭 7. 추가한 JDK 선택 > [Apply] 클릭 [결과]
[Java] 이클립스(Eclipse) 디버깅 단축키
.NET 이랑 Java를 같이 작업 할때가 있다 디버깅 할때 가끔 헷갈릴때가 있어 정리 해둘까 한다. 디버깅 단축키 Ctrl + Shift + B : 현 커서의 위치에 브레이크 포인터 설정/해제 F11 : 디버깅 시작 F8 : 디버깅 계속 F6 : 한 줄씩 실행 F5 : 한 줄씩 실행하되 함수일 경우 그 함수 내부로 들어감 Ctrl + R : 현재 라인까지 실행 Ctrl + F11 : 이전에 실행되었던 Run 파일 실행
![[JAVA] 자바 이클립스(Eclipse) 테마 색상 변경](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbZBBbS%2FbtrNFUswoo6%2Fuz5ZjGx4k3KfrWUvf4rLok%2Fimg.png)
[JAVA] 자바 이클립스(Eclipse) 테마 색상 변경
이클립스 설치 후 제일 먼저 진행하는게 테마(Theme) 변경이다 개발자는 Dark 모드지.. ㅎㅎ 오랜 시간 화면을 봐야 하기 때문에 Dark 모드로 되어 있어야지 눈이 덜 피로 한 느낌이다.. 1. 이클립스(Eclipse) 상단에 [Window] -> [Preferences] 2. [General] > [Appearance] > [Theme 선택] > [Apply and Close 클릭] Theme 종류 (Classic, Dark, Light, System) 3.[restart 클릭] restart 클릭해야 적용 된 이클릭(Eclipse)를 만날수 있다.
JSTL <c:forEach> 반복문
JSP 페이지 에서 코드 작업시 반복문을 사용할 경우가 있다 jstl 반복문 c:forEach 태그를를 사용하면 된다 JSTL Core 선언 jsp 페이지 상단에 JSTL을 선언한다. 기본 구조 ...