dependencies에 annotationProcess를 lombok으로 설정 dependencies { ... annotationProcessor('org.projectlombok:lombok') testAnnotationProcessor('org.projectlombok:lombok') ... }
dependencies에 annotationProcess를 lombok으로 설정
dependencies {
...
annotationProcessor('org.projectlombok:lombok')
testAnnotationProcessor('org.projectlombok:lombok')
...
}
'Programming > Java' 카테고리의 다른 글
mac에서 자바 여러개 설치 사용 (0) | 2018.06.12 |
---|---|
Test Compile시 Unable to find a @SpringBootConfiguration... 나올때 (0) | 2017.11.07 |
http://davidcai.github.io/blog/posts/install-multiple-jdk-on-mac/ https://gist.github.com/ntamvl/5f4dbaa8f68e6897b99682a395a44c2e $ brew install cask $ brew cask search java==> Matchescharles-applejava java java8 yourkit-java-profilereclipse-java java-jdk-javadoc netbeans-java-eeeclipse-javascript java6 netbeans-java-se $ brew cask info java8java8: 1.8.0_172-b11,a58eab1ec242421181065cdc37240b08h..
http://davidcai.github.io/blog/posts/install-multiple-jdk-on-mac/
https://gist.github.com/ntamvl/5f4dbaa8f68e6897b99682a395a44c2e
$ brew install cask
$ brew cask search java
==> Matches
charles-applejava java java8 yourkit-java-profiler
eclipse-java java-jdk-javadoc netbeans-java-ee
eclipse-javascript java6 netbeans-java-se
$ brew cask info java8
java8: 1.8.0_172-b11,a58eab1ec242421181065cdc37240b08
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Not installed
From: https://github.com/Homebrew/homebrew-cask-versions/blob/master/Casks/java8.rb
==> Name
Java Standard Edition Development Kit
==> Artifacts
JDK 8 Update 172.pkg (Pkg)
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361
If your Java application still asks for JRE installation, you might need
to reboot or logout/login.
Installing java8 means you have AGREED to the license at
https://www.oracle.com/technetwork/java/javase/terms/license/index.html
$ brew cask info java
java: 10.0.1,10:fb4372174a714e6b8c52526dc134031e
https://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
Not installed
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/java.rb
==> Name
Java Standard Edition Development Kit
==> Artifacts
JDK 10.0.1.pkg (Pkg)
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361
If your Java application still asks for JRE installation, you might need
to reboot or logout/login.
Installing java means you have AGREED to the license at
https://www.oracle.com/technetwork/java/javase/terms/license/index.html
$ brew cask install java8
'Programming > Java' 카테고리의 다른 글
lombok사용시 error: cannot find symbol return builder()가 뜰때 (0) | 2020.06.29 |
---|---|
Test Compile시 Unable to find a @SpringBootConfiguration... 나올때 (0) | 2017.11.07 |
source와 test code의 project layout의 불일치로 생기는 문제이다. 아래와 같이 맞춰주면 해결된다. my-test-project +--pom.xml +--src +--main +--com +--example +--Application.java +--test +--com +--example +--test +--MyTest.java http://www.bswen.com/springboot/2017/02/25/springboot-Unable-to-find-a-SpringBootConfiguration.html
source와 test code의 project layout의 불일치로 생기는 문제이다.
아래와 같이 맞춰주면 해결된다.
my-test-project
+--pom.xml
+--src
+--main
+--com
+--example
+--Application.java
+--test
+--com
+--example
+--test
+--MyTest.java
http://www.bswen.com/springboot/2017/02/25/springboot-Unable-to-find-a-SpringBootConfiguration.html
'Programming > Java' 카테고리의 다른 글
lombok사용시 error: cannot find symbol return builder()가 뜰때 (0) | 2020.06.29 |
---|---|
mac에서 자바 여러개 설치 사용 (0) | 2018.06.12 |
- Total
- Today
- Yesterday
- Python
- IntelliJ
- TDD
- PIP
- spring #lombok
- boot2docker
- 은전한닢
- X-Pack
- MacOS
- git
- MongoDB
- Paw
- zsh
- docker-machine
- pycharm
- Ansible
- Spring Boot
- Netty
- xpath
- Redis
- GCP
- pymongo
- kubernetes
- Elasticsearch
- PubSub
- ansible-container
- scrapy
- docker
- mecab
- AWS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |