A
Andreas Leitgeb
My problem is, I get a "cannot resolve symbol" error from javac,
but to all my knowledge and inspection, the class named as
"location" *does* have that symbol (the symbol is a parameterless
public non-static method, in case it matters)
As it seems, the javac finds the .class somewhere else than I
think it does. Is there any trick to let javac not only tell
me the FQN of the class of which it claims that it is lacking
that symbol, but also from where on the classpath it really got
that class from? Something like:
"location: class x.y.Z found in /foo/bar/snafu.jar"
Unfortunately, this is part of some bigger project, and the
classpath is quite large, and I can't just trim the classpath
without having ant/javac bail out somewhere else.
Thanks in advance.
but to all my knowledge and inspection, the class named as
"location" *does* have that symbol (the symbol is a parameterless
public non-static method, in case it matters)
As it seems, the javac finds the .class somewhere else than I
think it does. Is there any trick to let javac not only tell
me the FQN of the class of which it claims that it is lacking
that symbol, but also from where on the classpath it really got
that class from? Something like:
"location: class x.y.Z found in /foo/bar/snafu.jar"
Unfortunately, this is part of some bigger project, and the
classpath is quite large, and I can't just trim the classpath
without having ant/javac bail out somewhere else.
Thanks in advance.