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