일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 오라클
- java
- 호환성
- Oracle
- DB
- 한글
- jquery
- php
- maven
- 웹 플랫폼 설치 관리자
- 문자열
- null
- 톰캣
- 전자정부 표준프레임워크
- exception
- SSL
- 네이버스마트 에디터
- @RequestBody
- switch
- checbox
- JSTL
- 스크립트
- html
- 이클립스
- spring form tag
- MYSQL
- json
- HTML5
- 날짜
- RADIO
- Today
- Total
목록전자정부표준프레임워크/Exception 및 Error (48)
개인적인 정리

The type javax.annotation.Resource cannot be resolved. It is indirectly referenced from required .class files 프로젝트를 checkout 받아서 돌려보는데 위와 같은 오류가 발생 java build path 에서 jre 라이브러리를 제거한다음에 다시 추가해주니 잘 돌아간다. 위 화면에서 Remove 해서 제거를 해주고 Add Library 해서 jre 라이브러리를 다시 추가해준다.

json 으로 데이타를 출력할 때 한글이 깨질 수 있다. 그럴경우 produces="text/plain;charset=UTF-8" 부분을 추가해준다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 @RequestMapping(value="/jsonTest", produces="text/plain;charset=UTF-8") @ResponseBody public String jsonTest() throws Exception{ String result =""; String msg =""; String jsonString =""; result ="한글출력도 OK"; msg ="English OK."; jsonString = "{\"result\":\""+ result +"\"..

이클립스에서 톰캣에 ssl 설정을 하여 톰캣을 기동하면 아래와 같은 오류가 난다. Keystore was tampered with, or password was incorrect 맞는 비밀번호를 설정했음에도 오류가 발생한다. keystore 파일을 아래와 같은 방법으로 생성하고 설정을 조금 변경하니 에러가 나지 않는다. 1. keystore 파일 생성 keytool -genkey -alias tomcat -keypass changeit -storepass changeit -keyalg RSA -keystore C:\work\keystore\tomcat.keystore 2. 톰캣 설정 변경 - keystorePass="123456" 부분을 아래와 같이 삭제한다. 그러고 나서 톰캣을 재시작해보니 에러가 없이..

전자정부표준프레임워크 이클립스가 너무 느려서... (이것저것 해봐도) 새로운 이클립스를 다운받아서 셋팅을 해봤다. 속도가 정말 압도적으로 빨라졌다.... 허나 이클립스가 달라져서 그런지 몇가지 안되는 것이 있었는데, 파일이름을 F2 를 눌러서 붙여넣기로 바뀌지가 않고 다음과 같은 오류를 띄워준다는 것이다. Cannot paste the clipboard contents into the selected elements. 원인을 잘 모르겠으나 다음과 같이 하는 방법으로 적응을 해나가기로 했다. 바꾸고자 하는 파일의 마우스 오른쪽 버튼을 눌러서 Show In > System Explorer 를 눌러서 탐색기를 연다. 열어서 파일명을 변경하고 새로 고침을 하니 잘 바뀌어 있다.

maven-resources-plugin:jar:2.6 와 관련해서 아래와 같은 오류가 발생하였다. Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolve..
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 1] [E..

오랫만에 이전 프로젝트를 열어보니 동작하지 않는다. 이런 저런 시도를 해본 끝에 브라우저로 다음 URL을 접속해보니 오류가 난다. http://repo1.maven.org/maven2/ 501 HTTPS Required. Use https://repo1.maven.org/maven2/ More information at https://links.sonatype.com/central/501-https-required http://repo1.maven.org/maven2/ 에서 http 대신에 https로 사용하라는 말인 것 같다. https://repo1.maven.org/maven2/ 아래 블로그에 보면 아래와 같이 말하고 있다. 2020 년 1 월 15 일부터 Central Repository는 더 이..
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. mysql driver 버전을 올리고 나니 위와 같은 오류가 발생 드라이버명을 바꿔준다. Globals.DriverClassName=com.mysql.cj.jdbc.Driver --> Globals.DriverClassName=com.mysql.cj.jdbc.Driver * 그리고 서버와 연결하는 쿼리 스..