일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- Design Patterns
- linux
- Oracle
- Git
- 맛집
- java
- elasticsearch
- jsp
- devops
- springboot
- db
- it
- docker
- 요리
- ReactJS
- JPA
- ubuntu
- javascript
- tool
- Spring
- redis
- php
- Spring Boot
- laravel
- IntelliJ
- MySQL
- Web Server
- jenkins
- Gradle
- AWS
- Today
- Total
목록2019/08/19 (3)
아무거나
jdk를 변경해야되는 이슈가 생겨 다시 설치하고 스프링부트를 실행시켰는데 아래와 같은 오류가 발생하였다. 오류: 기본 클래스 ApiApplication을(를) 로드하는 중 LinkageError가 발생했습니다. java.lang.UnsupportedClassVersionError: ../ApiApplication has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 53.0 그래서 상단의 File -> Project Structure 에서 jdk location을 다..
spring boot 프로젝트에서 oracle을 연동하려고 하는 도중에 ojdbc를 디펜던시하지 못하는 문제가 생겨서 아래 코드를 입력하였던 해결되었다. [해결코드] repositories { mavenCentral() maven { url "https://code.lds.org/nexus/content/groups/main-repo"} // 추가하기 } dependencies { // oracle compile 'com.oracle:ojdbc7:12.1.0.2' }
[build.gradle 간략 설명] 1. build.gradle 에 spring-boot plugin 사용을 위한 buildscript 설정을추가한다. buildscript { ext { springBootVersion = '1.5.9.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath "io.spring.gradle:dependency-management-plugin:1.0.4.RELEASE" } } // buildscript 는 gradle 로 task 를 수행할 때에 사용되는 설..