티스토리 뷰
					Programming/Java
					
				Test Compile시 Unable to find a @SpringBootConfiguration... 나올때
Mr. Curious 2017. 11. 7. 10:50source와 test code의 project layout의 불일치로 생기는 문제이다.
아래와 같이 맞춰주면 해결된다.
my-test-project
  +--pom.xml
  +--src
    +--main
      +--com
        +--example
          +--Application.java
    +--test
      +--com
        +--example
          +--test
            +--MyTest.javahttp://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
 
									링크
									
							
								
								
									TAG
									
							
								
								- ansible-container
 - Elasticsearch
 - mecab
 - Ansible
 - scrapy
 - pymongo
 - kubernetes
 - AWS
 - spring #lombok
 - docker
 - PubSub
 - MongoDB
 - 은전한닢
 - MacOS
 - git
 - docker-machine
 - pycharm
 - PIP
 - Paw
 - xpath
 - IntelliJ
 - TDD
 - Redis
 - boot2docker
 - zsh
 - Netty
 - Spring Boot
 - GCP
 - X-Pack
 - Python
 
| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
									글 보관함