Re: tomcat/servlet doesn't find source
Nathan Fiedler <[email protected]> Thu, 09 Mar 2006 22:42:04 -0800
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Organization | Blue Marsh Softworks |
| Message-ID | <[email protected]> |
So the problem appears to be that the source editor indicates errors for some of the import statements in one of your source files, but not in the other source files in the same directory. This by itself is not a problem, per se. If you are able to set breakpoints and step through the code, then basically everything is working as intended. As to why the NetBeans Java parser thinks one source file has problems and the other one does not, I can't say. That is quite peculiar. If any of this is preventing you from debugging, let me know what exactly the problem is. n Robert P Young wrote: > probably really dumb, but...... > > running 3.7, tomcat 5.5.12, win2k/sp4 > > in the past, don't recall having the problem, which is that jswat > says packages/classes don't exist for source not in the primary package > tree of the servlet code. that is, when in the source editor window. > the source tree shows the source for such a class quite plainly in the > source > tree (left pane). i've added the library jar(s) to the source path, no > difference. debug is on in the javac ant task. > > what's even stranger, other source files don't have the issue. that is, > source > files in the main package may or may not resolve source references from > other packages. > > Thanks, > Robert