본문 바로가기
728x90
반응형

Gradle5

[Spring] SpringBoot log4j 라이브러리 바꾸다 삽질한일. log4j 취약점 사태에 따라서 프로젝트에 log4j 라이브러리를 변경해야 했다. 실제 프로젝트에서는 logback 을 사용중이었고 boot 버전은 2.2.4를 사용하고 있었고 spring-boot-starter-logging 을 사용중이었다. 이 라이브러리의 dependency 는 아래와 같다. ch.qos.logback » logback-classic 1.2.3 org.apache.logging.log4j » log4j-to-slf4j 2.12.1 org.slf4j » jul-to-slf4j 1.7.30 출처 : https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-logging/2.2.4.RELEASE 1. s.. 2021. 12. 14.
[Gradle] gradle build error tool.jar... valid JDK Ubuntu 에서 Gradle 빌드 하는데 Error 가 났다. * What went wrong:Execution failed for task ':compileJava'.> Could not find tools.jar. Please check that /usr/lib/jvm/java-8-openjdk-amd64 contains a valid JDK installation.Error 내용을 보면 뭔가 찾을수 없다고 나온다.. tools.jar 파일.일단 설치된 자바 버전을 확인해 보자.java -versionopenjdk version "1.8.0_181"OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13)OpenJDK 6.. 2018. 10. 19.
[Gradle]Ubuntu 에서 Gradle 설치하기 Ubuntu 에서 gradle 설치를 해보자.설치 방법은 정말 간단하다.sudo apt-get install gradle$ sudo apt-get install gradleReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following additional packages will be installed:이렇게 하면 설치가 쭉~~ 시작된다.gradle -v------------------------------------------------------------Gradle 2.10------------------------------------------------------------Bui.. 2018. 10. 19.
[Spring Security]간단 Spring Security Spring Security 를 적용하는 내용을 처음부터 차근차근 정리를 해보려고 한다. 목표는 Spring Security 를 공부하면서 각각의 기능들을 적용해보는것이다. 진행하다보면 Spring Security 뿐만 아니라 다른 내용들도 점점 추가될것 같다. 다 만들고 나서는 git에 소스를 공유할 생각이다. ^^;; 언제가 될지는 잘 모르겠다. 환경 : java 1.8, Spring Boot 1.5.3 Release, Maria DB, JPA, gradle build.gradle12345678910111213141516171819202122232425262728293031323334buildscript { ext { springBootVersion = '1.5.3.RELEASE' } reposito.. 2017. 6. 27.
Mac 에서 gradle 설치 Mac 에서 Gradle 설치 방법을 간단히 적어본다.. 먼저 아래 사이트에 가서 Gradle 을 다운받는다 (Complete distribution 클릭) http://gradle.org/gradle-download/ 그리고 나서 압축을 풀어주고 해당 폴더를 설치하고 싶은 위치에 옮겨준다. (나같은 경우는 Library 에 설치함) 그리고 환경변수를 등록해 준다. open ~/.bash_profile 저장 한후에 profile 적용 source ~/.bash_profile 이렇게 하면 설치는 완료된다. 확인을 위해서 버전 확인!! 2016. 7. 4.
728x90
반응형