Test Compile시 Unable to find a @SpringBootConfiguration... 나올때
</div>-->
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 |
Programming/Java
2017. 11. 7. 10:50
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- scrapy
- zsh
- pycharm
- PIP
- 은전한닢
- Redis
- AWS
- GCP
- Spring Boot
- TDD
- docker
- Paw
- PubSub
- MongoDB
- Ansible
- git
- pymongo
- boot2docker
- mecab
- MacOS
- kubernetes
- Python
- ansible-container
- X-Pack
- docker-machine
- IntelliJ
- Elasticsearch
- spring #lombok
- Netty
- xpath
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함