Hi Selva
It looks like you either have your JAVA_HOME variable pointing to a JDK 1.1
installation, or you have the Java 2 collections for Java 1.1 in your
classpath (the com.sun.java.util.collections package is the Java 2
collections for JDK 1.1).
So I'd double check what your JAVA_HOME points to and consider clearing your
CLASSPATH variable before you start the build.
Let us know how you get on.
James
----- Original Message -----
From: "selvakumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 8:25 AM
Subject: [dom4j-dev] Installation problem
> Hi!
>
> I am working on Linux operating system.
> And working on java 1.3.1 version.
>
> Recenly I have downloaded dom4j package
> and tried to install as per Installation instruction
> given.Java Home path is perfect in /usr/local
> as per the instraction given.
>
> While building I faced aproblem like as follows,
>
> [javac]
> /home/selva/JDom/dom4j-0.6/build/src/org/dom4j/dom/DOMElement.java:282:
> Incompatible type for method. Explicit cast needed to convert
> java.util.ArrayList to com.sun.java.util.collections.List.
> [javac] DOMNodeHelper.appendElementsByTagNameNS(list, this,
> namespaceURI, localName );
> [javac] ^
> [javac]
> /home/selva/JDom/dom4j-0.6/build/src/org/dom4j/dom/DOMElement.java:283:
> Incompatible type for method. Explicit cast needed to convert
> java.util.ArrayList to com.sun.java.util.collections.List.
> [javac] return DOMNodeHelper.createNodeList( list );
> [javac] ^
> [javac]
> /home/selva/JDom/dom4j-0.6/build/src/org/dom4j/dom/DOMDocument.java:177:
> Incompatible type for method. Explicit
> cast needed to convert java.util.ArrayList to
> com.sun.java.util.collections.List.
> [javac] DOMNodeHelper.appendElementsByTagName( list, this,
> name );
> [javac]
>
> likewise 94 errors,
>
> I couldn't find the solution for this compilation error,
>
> Expecting solution for this soon.
>
> regards,
> selva.
>
>
> _______________________________________________
> dom4j-dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dom4j-dev
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-dev