JDeveloper Version 11.1.2.4.0
I'm working on debugging and adding features to a Servlet. I can create an application from the EAR file, or create a J2EE application and then create a project from the WAR file. I then right click the project and Edit Project Source Paths. I add the Java files for the project which are in a code management system outside JDeveloper. At this point I can see the files and edit them if they are checked out. I then went into project->Project Properties-.Libraries and Classpath and made sure the necessary jar files are in the Classpath. This done I set a couple of break points in the code, right click the Java file that defines the Servlet->Debug. Everything. WLS and the Servelet starts up fine. It even gets to and stops at the breakpoints. However, when it hits the breakpoint (in the code I have on the source path for the project) it pops up a window stating "The debugger has hit a breakpoint, but cannot find the source file" Along with the Java file name it was looking for and stating that it has already searched the JPR and its dependency/ I'm offered 2 options 1) to find it myself and 2) to have JDeveloper stop asking about this breakpoint.
I went ahead and opened the Java file and that "fixed" the problem but there's got to be something I'm missing here. But, is I close the source file and restart the Servlet to hit that same breakpoint I get the same message until I manually open the source file. Along the same lines, if in the debugger I select a class and and do a find declaration it takes me to the .class file whereas in previous versions it took me to the source file if it was available in the project.
I suspect I missing something simple here but I'm fresh out of ideas. Searched for "unable to find source files" in the forum but didn't see anything relevant. Google turned up a couple of things that were interesting but not helpful. The tutorial was interesting, learned a few things, but again nothing that fixed the problem.
Any advice would be appreciated. Thanks.