I am trying to configure spring source code in an eclipse project so that I can execute it through a debugger.
Currently, the specific line of code I'm trying to log into is this:
ApplicationContext context=new ClassPathXmlApplicationContext("classpath:spring.xml");
ApplicationContext and ClassPa thanksmlApplicationContext are part of org.springframework.context:
import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext;
In the section "Java Build Path" => "Libraries" I specified the path to the org.springframework.context-sources-3.1.3.RELEASE.jar file for org.springframework.context-3.1.3. RELEASE.jar.

I am using spring 3.1.3 with eclipse indigo 3.7.2.
Update:
I tried adding sources.jar files to the source tab in the Debug Configurations section, but eclipse still cannot find the source.

opike source share