99. 정리전 - IT/11. Java(85)
-
멀티프로젝트 생성 Eclipse STS + Multi Gradle
Eclipse STS + MultiGradle + Subproject Spring Boot(1.5.8) 사전설정이클립스 마켓에서 등록해 참조 : http://donzbox.tistory.com/593 전체구조 부모프로젝트 생성 첫번째 자식 프로젝트 생성 (프로젝트 Location 설정 : 부모프로젝트 밑으로 변경해야 함) 두번째 자식 프로젝트 생성 (프로젝트 Location 설정 : 부모프로젝트 밑으로 변경해야 함) 부모프로젝트에서 자식프로젝트 연결 설정 /* * This build file was generated by the Gradle 'init' task. * * This generated file contains a sample Java Library project to get you start..
2017.10.18 -
Eclipse STS + Spring Boot(1.5.7) + Gradle + Thymeleaf (Change Template Directory) + Embedded Tomcat + 외부 Tomcat
Eclipse STS + Spring Boot(1.5.8) + Gradle + Thymeleaf (Change Template Directory) + Embedded Tomcat + 외부 Tomcat 전체구조 이클립스기동 마켓에서 등록할 목록 STS 프로젝트 생성 외부 tomcat 배포를 위해 War형태로 패키징 하길 바랍니다. STS 프로젝트 생성된 프로젝트 구조 build.gradle 설정 buildscript { ext { buildVersion = "0.0.1-SNAPSHOT" springBootVersion = '1.5.7.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spr..
2017.10.17 -
java implements
학습내용http://blog.chequer.io/archives/105의 내용을 토대로 예제를 만들었습니다.A-01. 사과엔티티 package com.donzbox; public class Apple { private String color; private int weight; public String getColor() { return color; } public void setColor(String color) { this.color = color; } public int getWeight() { return weight; } public void setWeight(int weight) { this.weight = weight; } } A-02. 오렌지엔티티 package com.donzbox; pu..
2017.01.18 -
Spring FW in RESTful setting
SpringFW in RESTful setting RequestFilter.java import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.nimigate.framework.web.servlet.filter.AbstractRequestWrappingFilter; public class RequestFilter extends AbstractRequestWrappingFilter { @Override public void preChain(ServletRequest request, ServletResponse response) { HttpServletRequest req = (Ht..
2016.11.18 -
eclipse의 javascript error 무시하기 옵션 설정
자바스크립트 에러 표시 무시하기 1. Project 에서 right click -> properties2. left menu의 JavaScript -> Include Path3. Include Path Popup창 상단의 두번째 탭 Source -> Excluded : ... 클릭 후 Edit4. Inclusion and Exclusion Patterns Popup창의 하단 Exclusion patterns: 필드의 Add... 클릭5. Add Exclusion Pattern Popup 에서 Browse...
2016.11.09 -
java Date 프로세스 동작 시간
Example 11/03/14 09:30:58 11/03/14 09:33:43 elapsed time is 02 minutes and 45 seconds ----------------------------------------------------- 11/03/14 09:30:58 11/03/15 09:30:58 elapsed time is a day ----------------------------------------------------- 11/03/14 09:30:58 11/03/16 09:30:58 elapsed time is two days ----------------------------------------------------- 11/03/14 09:30:58 11/03/16 09:3..
2016.02.12