Re: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
On Wed, Mar 14, 2007 at 12:11:09AM +0000, Paul Cager wrote:
> Can anyone shed any light on this error message, please? Google hasn't
> turned up too much of relevance.
>
> compile:
> [javac] Compiling 15 source files to /tmp/buildd/tagsoup-1.0.4/build
> [javac] ----------
> [javac] 1. ERROR in
> /tmp/buildd/tagsoup-1.0.4/src/java/org/ccil/cowan/tagsoup/AttributesImpl.java
> (at line 1)
> [javac] // Our own copy, so we don't depend on possibly buggy
> reimplementations
> [javac] ^
> [javac] The type java.lang.Object cannot be resolved. It is
> indirectly referenced from required .class files
>
> This is generated when my mentor tries to rebuild the tagsoup package in
> pbuilder - it compiles fine when I use pbuilder on my own machine. I
> assume it is somehow failing to find classes.jar, but I'm not sure why.
>
> The full package is at: http://mentors.debian.net/debian/pool/main/t/tagsoup
>
> I have a copy of the full pbuilder log, if that would be any help (it's
> too big to attach to this email).
Really strange. I can build it just fine. I *guess* his pbuilder image
is just broken.
> Extract of "control"
> Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional,
> libxalan2-java
> Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
>
> Extract of "rules"
> JAVA_HOME := /usr/lib/jvm/java-gcj
> ANT_HOME := /usr/share/ant
> DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
> $(ANT_HOME)/lib/ant-trax.jar xalan2
Looks all okay.
> (By the way, this package dates from before my membership of pkg-java,
> hence I am using my original sponsor to upload this new version)
Tell me when I should sponsor this package.
Cheers,
Michael
--
.''`. | Michael Koch <konqueror@gmx.de>
: :' : | Free Java Developer <http://www.classpath.org>
`. `' |
`- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B
Reply to: