Hi Firestar Yes this bug crept in recently and has been fixed. We'll be doing a dom4j 1.1 release very soon which will fix this problem and dom4j will run on JDK1.2.2.
James ----- Original Message ----- From: "Firestar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 6:18 AM Subject: [dom4j-user] Does dom4j run on JDK1.2.2? > Hi, i was having this problem when using dom4j on a > Solaris with JDK 1.2.2: > > java.lang.NoSuchMethodError: java.util.Collections: > method > singletonList(Ljava/lang/Object;)Ljava/util/List; not > found > at org.jaxen.BaseXPath.getContext(BaseXPath.java:90) > at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:21) > at > org.dom4j.xpath.DefaultXPath.selectNodes(DefaultXPath.java:118) > > It seems that the method Collections.singletonList() > is only available in JDK 1.3. Does that mean that > dom4j only runs on JDK1.3, or will recompiling dom4j > or jaxen with JDK1.2.2 solve the problem? Thanks in > advance. > > Regards, > Firestar > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-user > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
