<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Spring Boot on DevTrace — 글로벌 개발 에러 트러블슈팅</title><link>https://tokkabi.com/tags/spring-boot/</link><description>Recent content in Spring Boot on DevTrace — 글로벌 개발 에러 트러블슈팅</description><generator>Hugo -- 0.125.7</generator><language>ko</language><lastBuildDate>Wed, 02 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tokkabi.com/tags/spring-boot/index.xml" rel="self" type="application/rss+xml"/><item><title>Spring Boot 'Failed to configure a DataSource: url attribute is not specified' 오류 해결 — Batch + MongoDB 조합에서 체크해야 할 6가지</title><link>https://tokkabi.com/posts/failed-to-configure-a-datasource-39url39-attribute-is-not-sp/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/failed-to-configure-a-datasource-39url39-attribute-is-not-sp/</guid><description>Spring Boot 애플리케이션 시작 시 &amp;#39;Failed to configure a DataSource: url attribute is not specified&amp;#39; 오류가 발생하는 원인을 진단 순서대로 정리한다. spring-boot-starter-batch가 기본 설정하는 DataSource 자동 설정과 MongoDB만 사용하는 프로젝트의 충돌을 해결하는 체크리스트를 제공한다.</description></item><item><title>Spring Boot Whitelabel 에러 페이지 제거 시 발생하는 /error Ambiguous mapping 충돌 해결</title><link>https://tokkabi.com/posts/spring-boot-remove-whitelabel-error-page/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/spring-boot-remove-whitelabel-error-page/</guid><description>Spring Boot에서 Whitelabel 에러 페이지를 없애려고 /error에 매핑을 직접 추가하면, 자동 등록된 BasicErrorController와 충돌해 Ambiguous mapping 익셉션이 발생한다. ErrorController 인터페이스 구현과 getErrorPath() 반환이 해결 방법이다.</description></item><item><title>Spring Boot + MongoDB 인증 오류: default auth db가 'test'여서 authenticate가 실패하는 문제</title><link>https://tokkabi.com/posts/exception-authenticating-mongocredential-and-uncategorized-m/</link><pubDate>Mon, 31 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/exception-authenticating-mongocredential-and-uncategorized-m/</guid><description>Spring Boot 앱이 MongoDB에 연결할 때 UncategorizedMongoDbException: Exception authenticating MongoCredential 오류가 뜨는 원인과 해결법을 다룹니다. 핵심은 기본 인증 DB가 &amp;#39;test&amp;#39;로 설정되는 동작과 실제 사용자 생성 DB(&amp;#39;admin&amp;#39;)의 불일치이며, spring.data.mongodb.authentication-database=admin 설정으로 해결합니다.</description></item><item><title>Spring Boot REST 예외 처리 — /error 기본 리다이렉트 대신 @ControllerAdvice로 JSON 에러 응답 구성하기</title><link>https://tokkabi.com/posts/spring-boot-rest-service-exception-handling/</link><pubDate>Mon, 31 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/spring-boot-rest-service-exception-handling/</guid><description>Spring Boot REST 서비스에서 예외 발생 시 기본 /error 매핑으로 리다이렉트되는 문제를 해결하는 방법. 404 NoHandlerFoundException 처리 설정, @ControllerAdvice/@RestControllerAdvice, ErrorController 구현을 상황별로 선택하는 방법을 다룹니다.</description></item><item><title>JDK 21 업그레이드 후 NoSuchFieldError (JCImport qualid) — Lombok 버전 호환성 문제 해결</title><link>https://tokkabi.com/posts/jdk21-upgrade-nosuchfielderror-jcimport-lombok/</link><pubDate>Sun, 30 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/jdk21-upgrade-nosuchfielderror-jcimport-lombok/</guid><description>JDK 21로 업그레이드한 후 발생하는 &amp;#39;NoSuchFieldError: JCImport does not have member field JCTree qualid&amp;#39; 컴파일 오류의 원인과 해결책을 설명한다. 이 문제는 Lombok이 오래된 버전일 때 발생하며, Lombok 1.18.30 이상 또는 Spring Boot 3.1.4 이상으로 올리면 해결된다.</description></item></channel></rss>