본문 바로가기

IT 개발, develop/java18

Spring boot 1.5.6 Spring System Requirements and compatibility Spring boot 1.5.6 Spring System Requirements and compatibilityJava compatibilitySpring boot is compatible with Java 1.6, but consider using latest versionMaven or GradleSpring Boot is compatible with Apache Maven 3.2 or above, Gradle 2.9 or aboveContainerAny servlet 3.0+ compatible containerExample : Tomcat 7 or above , Jetty 8 or aboveSpring FrameworkSpring Framework 4.3.10.RELEASE or aboveNote.. 2018. 10. 19.
JSP 에서 Include, JSTL을 이용한 Include Include란 현재의 문서에 다른 문서, 즉 다른 파일의 내용을 포함시켜 출력하는 것을 말합니다.따라서 include는 두개 문서의 출력을 한 번에(한 페이지에) 보여주고자 할 때 사용합니다. in JSPJSP에서는 두 가지 방법으로 다른 문서를 현재의 문서에 포함시킬 수 있습니다. include를 위한 두 가지 방법으로는 와 가 있는데 이는 컴파일 되는 방법에 따라 각각 정적인 include와 동적인 include라고 할 수도 있습니다. 하지만 이 방법들은 원격지의 페이지를 포함할 수 없는데, 이를 해결하기 위한 다른 방법은 이 글의 아래에서 알아보도록 하겠습니다. 먼저 살펴볼 는 정적인 include입니다. 이것에서 @은 Directive 라는 의미이며, 포함하는 문서에 정적으로컴파일됩니다. 좀 더.. 2018. 10. 19.
[ eclipse ] 로컬 히스토리 (local history) 사이즈 변경 이클립스에서 이전에 편집한 내용을 찾을 때로컬 히스토리 사이즈가 작다면, 못찾을 수도 있다. default 설정은 너무 작기에,프로젝트 시작 시, 사이즈를 늘려주어야 한다. 2018. 9. 17.
[ eclipse ] 콘솔 사이즈 (conbsole size) 제한 풀기 이클립스에서 서버를 띄울 때, 로그가 길어지면 짤리는 현상을 자주 경험한다.. 콘솔창의 사이즈를 변경하는 방법이다. 이클립스 콘솔 버퍼 사이즈 제한 풀기 window > Preferences > Run/Debug > Console Console buffer size : 1000000 으로 수정 또는 Limit console output 체크박스 해제 2018. 9. 17.
[spring] The import org.springframework.web.bind.annotation.RestController conflicts with a type defined in the same file @RestController 를 사용할때 아래 에러를 만났다. The import org.springframework.web.bind.annotation.RestController conflicts with a type defined in the same file 이는 RestController 를 사용할때 아래 에러를 만났다. 이는 만들려는 class와 어노테이션의 이름이 같아서 나는 에러이다. class 이름을 RestController -> RestSameplController 등과 같이 변경해주면 된다. 2018. 9. 3.
[springboot] jsbcTemplate + dataSource DB 연결 설정 spring-boot 에서 간단하게jsbcTemplate 를 설정하는 방법을 설명하고 있다. spring-boot 에서 빠르게 Database를 연결하고자 한다면 아래 방법을 추천한다. http://www.holaxprogramming.com/2015/10/16/spring-boot-with-jdbc/ 2018. 9. 3.
[springboot] mybatis mysql 연동 mybatis - spring 연동모듈은 mybatis와 spring을 편하고 간단하게 연동한다. 이 모듈은 mybatis로 하여금 spring transaction에 쉽게 연동되도록 처리한다. 또한 mybatis mapper와 SqlSession을 다루고 다른 bean에 주입시켜준다. * 설정) 아래 URL을 참고로 설정한다. http://gangnam-americano.tistory.com/63 * 참고) mybatis-spring 한글 해석http://www.mybatis.org/spring/ko/index.html 2018. 8. 28.
[mybatis] mybatis-spring error [Handler processing failed; nested exception is java.lang.AbstractMethodError: org.mybatis.spring.transaction.SpringManagedTransaction.getTimeout()Ljava/lang/Integer] spring - mybatis 연동에서 아래와 같은 에러를 만났을 때, INFO : kr.co.mybatis.HomeController - Welcome home! The client locale is ko_KR.8월 27, 2018 11:02:36 오전 org.apache.catalina.core.StandardWrapperValve invoke심각: Servlet.service() for servlet [appServlet] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.AbstractMethodError: org.mybatis.spring.transaction.Spring.. 2018. 8. 27.
[java] spring 동영상 강의 ** 불스님의 유튜브 spring 동영상 입니다. "신입SW인력을 위한 실전 자바(Java) 스프링(Spring) 동영상 과정" 스프링을 공부하시는 분에게 초강추 입니다. 버전은 조금 낮지만, 기본 개념 파악하는데,도움이 많이 되네요. 참고) security 부분은 따라하다보면 에러가 나서..다른 사이트를 참고하여 에러를 작성한 소스를 올립니다. 1강 : spring 이란?https://www.youtube.com/watch?v=CsOrR-4nH-s 2강 : 스프링 프로젝트 만들기https://www.youtube.com/watch?v=xuygR0rucms 3강 : DI(Dependency Injection)-Ihttps://www.youtube.com/watch?v=bZjUUJM_ZqA 4강 : DI(.. 2018. 8. 22.