일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JDBC
- Source
- AJAX
- MSSQL
- Spring Boot
- JavaScript
- error
- PostgreSQL
- Docker
- myBatis
- jpa
- Exception
- oracle
- STS
- Python
- 설정
- spring
- IntelliJ
- Thymeleaf
- git
- maven
- 오픈소스
- 문서
- Eclipse
- MySQL
- Tomcat
- Core Java
- Open Source
- ubuntu
- SpringBoot
- Today
- Total
목록hermeswing log (709)
헤르메스 LIFE
public static void main(String[] args) { Map map = new HashMap(); map.put("A", "aaa"); map.put("B", "bbb"); map.put("C", "ccc"); map.put("D", "ddd"); map.put("E", "eee"); map.put("F", "fff"); String key = "D"; String value = "eee"; if(map.containsKey(key)){ System.out.println("find key ["+key+"]"); }else{ System.out.println("not find key ["+key+"]"); } if(map.containsValue(value)){ System.out.pr..
Tomcat을 Start 시키자 아래와 같은 Exception이 발생하였습니다. 경고: Unexpected exception resolving referenceorg.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)at org.apache.commons.dbcp.BasicDataSource.createPoolableConnection..
ParameterizableViewController는 별도의 로직처리 없이 뷰 페이지를 호출할 때 사용합니다. SignonForm.jsp 파일이 존재하면 됩니다. Spring 3.0.x에서 DispatcherServlet을 사용한다면 상관없지만, petstore org.springframework.web.servlet.DispatcherServlet 2 아니라면 defaultHandlerMapping을 선언을 해줘야 합니다.
원문 : http://levin01.tistory.com/1426 According to TLD or attribute directive in tag file, attribute test does not accept any expressions 위의 에러가 발생했을 때 확인해야 할 부분 1. JSP 1.2 에서 JSTL 1.0 를 사용할 경우- . rtexprvalue를 false 로 해야함-. tld 위치 -->http://java.sun.com/jstl -. web.xml 에서 servlet 2.3 DTD 사용 2. JSP 2.0 에서 JSTL 1.1 를 사용할 경우- . rtexprvalue를 true 로 해야함-. tld 위치 --> http://java.sun.com/jsp/jstl -. web..
토비 Spring 3 - ConfigurableDispatcherServlet.java Sample package springbook.learningtest.spring.web; import java.io.IOException; import javax.servlet.ServletException;import javax.servlet.ServletRequest;import javax.servlet.ServletResponse;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse; import org.springframework.beans.BeansException;import org.springfr..
원문 : http://javapattern.blogspot.kr/2008/02/spring-framework-log4jconfiglistener.html java.lang.IllegalStateExceptionWeb app root system property already set to different value: - Choose unique values for the 'webAppRootKey' context-param in your web.xml files! 해결 방법: 컨텍스트 파라미터webAppRootKey의 값을 설정해준다. webAppRootKey의 디폴트 값은 webapp.root임 예) webAppRootKey myProject_name.root
원문 : http://blog.jidolstar.com/688이 글은 JPetStore라는 간단한 쇼핑몰 웹애플리케이션을 Eclipse에서 테스트하기 위한 방법을 소개한다. JPetStore는 원래 MS에서 소개된 샘플이나 나중에 java진영에 컨버팅되면서 더 유명해진듯 하다. 그러므로 JPetStore는 java만을 위한 것이 아님을 알고 접근하는 것이 좋겠다. Spring Framework에 번들로 제공하는 JPetStore샘플은 Spring을 학습하는데 많이 유용하다. Spring 서적을 통해 학습한 내용을 실습한다는 차원에서 접근하면 좋겠다. Spring framework 2.5와 iBatis로 구성된 예제를 참고했다.Eclipse 갈릴레오(JEE), JDK 1.6.0.18, Tomcat 6.0..
원문 : http://forum.springsource.org/showthread.php?18478-is-there-mssql-server-database-scripts-for-jpetstore I have created the mssql server's database schema for jpetstore sample, for the data loading for mssql server, you can use the mysql or oracle's scripts which come with the jpetstore sample; i use microsoft's jdbc driver to connect: com.microsoft.jdbc.sqlserver.SQLServerDriver the sample ..
원문 : https://discursive.atlassian.net/wiki/display/CJCOOK/Home HomeSkip to end of metadataAdded by Tim O'Brien, last edited by Tim O'Brien on Mar 12, 2012 (view change)Go to start of metadata Common Java CookbookTimothy M. O'BrienCopyright © 2004-2012 Tim O'Brien. All Rights Reserved.AbstractThis collection provides expert tips for using Java-based utilities from projects such as Apache Commons,..
원문 : http://jhoonslife.tistory.com/76log4j.xml에서 로거의 특성상 상위의 모든 로거가 출력 되게 되어있다.로거를 아래와 같이 정의를 하게 되면root 로거와 jdbc.sqlonly 로거 두개가 남게 된다.따라서 상위 로거 모두 출력하는 log4j의 특성 때문에 서로 똑같은 로그가 두개가 남게 된다.(아래그림 참조)따라서 이런 것을 방지 하기 위해서는additivity 속성을 false 로 둔 logger를 설정해 두면 된다.이렇게 된다면 logger는 일단 출력한 후 상위 로거를 더이상 찾지 않게 된다.따라서 두개씩 찍히던 쿼리 로그는 하나씩 찍히게 된다.