일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- vaadin
- Eclipse
- window
- Java
- 보조정렬
- Android
- Spring
- SPC
- JavaScript
- Sqoop
- es6
- mybatis
- table
- plugin
- R
- SQL
- IntelliJ
- react
- tomcat
- Python
- SSL
- xPlatform
- Express
- mapreduce
- NPM
- hadoop
- GIT
- Kotlin
- MSSQL
- 공정능력
- Today
- Total
목록분류 전체보기 (667)
DBILITY
Outsider's Dev Story 블로그의 스프링 3.1 레퍼런스로 아주 잘 정리 되어 있습니다. https://blog.outsider.ne.kr/tag/Reference%20Guide?page=3
제목 그대로 빈을 등록합니다. 2번의 경우 Object만 property setting이 가능하므로, 3번 구현 예가 실제 상황에선 더 적합합니다. Spring 3.1.1에서 테스트되었으며, cglib dependancy가 필요합니다. controller 예 @Controller public class TestController { private static final Logger LOG = LoggerFactory.getLogger(TestController.class); @RequestMapping(value="/test.action") public void dummyMethod(HttpServletRequest request) throws Exception { LOG.debug("{} -------..
springframework은 jakarta commons logging을 사용하므로, commons-logging의 dependancy를 제거(exclude)하고, slf4j-api dependancy 확인 후 jcl-over-slf4j dependancy를 추가한다( slf4j Bridging legacy APIs 참조 ) spring mvc pom sample 1.6 3.1.1.RELEASE 1.6.10 1.6.6 2.2 org.springframework spring-context ${org.springframework-version} commons-logging commons-logging org.springframework spring-webmvc ${org.springframework-ver..
maven jar build시 META-INF정보를 제거하고 싶을때, maven-shade-plugin을 사용합니다. pom.xml에 아래와 같이 추가하고,build 하십시오. maven folder만 제거할 경우 META-INF/maven/**으로 변경합니다. org.apache.maven.plugins maven-shade-plugin 2.4.1 package shade ${project.groupId}:${project.artifactId} *:* META-INF/ 참고로 war내의 META-INF는 maven-war-plugin configuration에 다음과 같이 설정 할 수 있습니다. false
Java Language and Virtual Machine Specifications