본문 바로가기

IT 개발, develop/java18

[spring-boot] MyBatis-Spring-Boot-Starter mybatis-spring-boot-starter 를 사용해야 할때, 어떤 버전을 사용해야 할까? 고민이 됩니다. 다음 사이트에 보면 버전 mapping 정리가 잘 되어 있습니다. https://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/ mybatis-spring-boot-autoconfigure – Introduction Introduction Translations Users can read about MyBatis-Spring-Boot-Starter in the following translations: What is MyBatis-Spring-Boot-Starter? The MyBatis-Spring-Boot-Starte.. 2023. 10. 16.
howtodojava java tutorial ** how to do java 사이트이다. java 개발 시 참고하기에 아주 유용하다. https://howtodoinjava.com/ Java Tutorials - Java Learning Resources - HowToDoInJava Simple and easy to follow free Java tutorials on spring framework, spring boot, angular, maven, hibernate, jpa, concurrency, collections and much more. howtodoinjava.com Java Tutorials This page list down all java tutorials published on HowToDoInJava.com. Find pub.. 2020. 3. 25.
spring boot back-ground run linux 환경에서 특정 프로그램을 지속적으로 실행되고 있는 상태로 만들기 위해서는 nohup 명령을 사용한다. 다음은 spring-boot 의 jar 를 실행시키기 위한 실행파일 예시이다 vi restart.sh #!/bin/bash echo "Stopping process on port : 9091" /usr/sbin/fuser -n tcp -k 9091 echo "Start java -Dspring.profiles.active=release -jar hello-0.0.1-SNAPSHOT.jar" sleep 1 nohup /usr/bin/java -Dspring.profiles.active=release -jar > /dev/null & /dev/null 로 적은 이유는, 로그는 spring-book.. 2020. 3. 23.
spring boot + logback : error : Could not find Janino library on the class path logback 설정 시 아래와 같은 애러가 났다. Could not find Janino library on the class path 관련하여 찾아보니, logbacklogback-spring.xml 에서 if 문을 사용할려면 ifjanino 라이브러리가 있어야 한다. 그래서 pom.xml 에 관련 dependency를 추가였다. 다시 돌려보니, .error 가 사라졌다. 2020. 3. 23.
Can not import using Gradle (Buildship 2.x) because Buildship Gradle Tooling version 2.x is not installed. You can install it from Eclipse Marketplace. 이클립스 STS 3.8.3 d에서 grandle 설치 시 에러 Can not import using Gradle (Buildship 2.x) because Buildship Gradle Tooling version 2.x is not installed. You can install it from Eclipse Marketplace. 다음 URL에 설명이 나와 있다. https://www.quickprogrammingtips.com/eclipse/buildship-2-0-and-spring-sts-3-8-3.html Buildship 2.0 and Spring STS 3.8.3 Spring STS 3.8.3 doesn’t work well with Buildship 2.0 Gradle plugin. Whe.. 2019. 5. 2.
JVM 메모리 구조와 JAVA OPTION 값 정리 jvm 메모리 구조에 대한 설명을 찾다가 설명이 잘 되어 있는 글이 있어 링크 합니다. jvm 메모리 구조화 java option 값 정리 https://javaslave.tistory.com/23 gc 로그 분석 방법 https://blog.naver.com/bumsukoh/110120569149 2019. 4. 9.
Manage your filters with Spring using DelegatingFilterProxy -. DelegatingFilterProxy 에 대하여 설명 글이다. http://targetveb.com/manage-filters-spring-using-delegatingfilterproxy.html 2019. 4. 8.
스프링 시큐리티 개념 잡기 스프링 시큐리티의 개념을 잡으려고 한 3주를 구글링을 한 것 같다. 대강 아래 내용을 따라가다면 대강이라도 개념을 잡을 수 있다. 정리한 분들에게 감사~ ^^; - 개념잡기 https://sjh836.tistory.com/165 - 인증 절차 이해 https://minwan1.github.io/2017/03/25/2017-03-25-spring-security-theory/ https://brunch.co.kr/@sbcoba/11 * 참고 : ThreadLocal : https://javacan.tistory.com/entry/ThreadLocalUsage - 구현해보기 https://offbyone.tistory.com/88 - 기타 : 유튜브 보며 구현해보기 https://www.youtube.com.. 2019. 4. 3.
servlet 2.5 vs servlet3.0 servlet 3.0 으로 가면서 web.xml 에서 등록했던 것들을 다음과 같이 annotation 으로도 등록 가능하게 되었다. @WebServlet @WebServletContextListener @ServletFilter @InitParam 참고..https://stackoverflow.com/questions/1638865/what-are-the-differences-between-servlet-2-5-and-3 2019. 3. 20.