CodexBloom - Programming Q&A Platform

Eclipse 2023-09: Debugging scenarios with 'Source Not Found' When Step-Intoing Spring Boot Application

πŸ‘€ Views: 137 πŸ’¬ Answers: 1 πŸ“… Created: 2025-07-17
eclipse spring-boot debugging java Java

I'm working through a tutorial and I recently switched to I'm experiencing a frustrating scenario while trying to debug my Spring Boot application in Eclipse 2023-09. Whenever I attempt to step into a method during debugging, I get the behavior message 'Source not found.' This happens even when I'm certain that the source code for the method is available in my workspace. I suspect it might be due to my project setup, but I'm not sure what to check. I've double-checked my project's build path and source attachments. Here’s the relevant part of my `pom.xml` where I'm including dependencies: ```xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.7.5</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>2.7.5</version> <scope>test</scope> </dependency> ``` I've also tried cleaning and rebuilding the project, as well as refreshing the workspace, but the question continues. My Java version is 17, and I made sure the JDK is properly linked in Eclipse. Additionally, I verified that the source attachment for the Spring Boot dependencies is correctly set, but I still encounter the 'Source not found' behavior. When I check the debugger settings, the 'Suspend execution on uncaught exceptions' option is turned on, and I can see the classes being loaded correctly in the Debug perspective. However, I need to seem to get the debugger to access the source files. Does anyone have advice on troubleshooting this scenario, or is there a specific configuration in Eclipse that I might have overlooked? Any insights would be greatly appreciated! Am I missing something obvious? Thanks for your help in advance!