Re: tomcat/servlet doesn't find source

[email protected] Mon, 6 Mar 2006 13:03:43 -0800 (PST)
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
I don't have a clear understanding of the situation.

1. What is your sourcepath setting?
2. What exact source file is not being found?
3. What is the full class name of the code for which the source file
cannot be found? Where is that in relation to the source path?

Have you read through the "Classpath and Sourcepath" help topic, with
regards to troubleshooting?

n


Robert 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