[springboot] 예외 Cannot determine embedded database driver class for database type NONE 해결 시작
802 단어 버그 레코드
springboot 프로젝트를 시작할 때 시작에 실패했습니다. 오류 메시지:
***************************
APPLICATION FAILED TO START
***************************
Description:
Cannot determine embedded database driver class for database type NONE
Action:
If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).
오류 원인:
데이터베이스 관련 의존 (예를 들어 mybatis 같은 프레임워크) 을 가져왔지만 전역 프로필에 데이터베이스 관련 정보를 설정하지 않았습니다.
문제 해결:
두 가지 방안: 1 데이터베이스 관련 의존이 필요한지 검사하고 필요하지 않으면 삭제한다.
2 글로벌 구성 파일에서 데이터베이스 정보를 구성합니다.
spring.datasource.driverClassName=
spring.datasource.url=
spring.datasource.username=
spring.datasource.password=
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
[springboot] 예외 Cannot determine embedded database driver class for database type NONE 해결 시작문제 설명: springboot 프로젝트를 시작할 때 시작에 실패했습니다. 오류 메시지: 오류 원인: 데이터베이스 관련 의존 (예를 들어 mybatis 같은 프레임워크) 을 가져왔지만 전역 프로필에 데이터베이스 관련...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.