[jdom-interest] Problem with Samples Package

Jason Hunter jhunter at servlets.com
Tue Apr 22 15:43:42 PDT 2003


Yeah, cuz some samples use deprecated methods.  Don't worry about that.

-jh-

Rajesh Pazhyannur wrote:
> 
> Thanks Jason.
> 
> It did fix the build issues. However, I am still getting the deprecated
> warning.
> 
> regards
> 
> Rajesh
> 
> >From: Jason Hunter <jhunter at servlets.com>
> >To: Rajesh Pazhyannur <rpazhyannur at hotmail.com>,JDOM Interest
> ><jdom-interest at jdom.org>
> >Subject: Re: [jdom-interest] Problem with Samples Package
> >Date: Mon, 21 Apr 2003 20:51:41 -0700
> >
> >You're building for JDK 1.1.  Get the jdom-b9-rc2.zip file and just run
> >the regular build script.
> >
> >-jh-
> >
> >Rajesh Pazhyannur wrote:
> > >
> > > Dear JDOM users,
> > >
> > > I am new to JDOM. I have just installed the JDOM package and was trying
> >out
> > > the program in the samples package, and I got the following error.
> > >
> > > *********************************************************
> > > DOMBuilderDemo.java [124:1] cannot access
> >com.sun.java.util.collections.List
> > > file com\sun\java\util\collections\List.class not found
> > >             outputter.output(doc, System.out);
> > >                      ^
> > > Note: D:\Downloaded Programs\JDOM\jdom-b8\samples\DOMBuilderDemo.java
> >uses
> > > or overrides a deprecated API.
> > > Note: Recompile with -deprecation for details.
> > > 1 error
> > > Errors compiling DOMBuilderDemo.
> > >
> > > *************************************************************
> > >
> > > I get a similar error with other classes in samples with the exception
> >of
> > > count.
> > >
> > > Am I missing something or is my classpath not set correctly.
> > >
> > > Any help/clue would be appreciated.
> > >
> > > regards
> > >
> > > rajesh
> > >
> > > _________________________________________________________________
> > > MSN 8 with e-mail virus protection service: 2 months FREE*
> > > http://join.msn.com/?page=features/virus
> > >
> > > _______________________________________________
> > > To control your jdom-interest membership:
> > >
> >http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> >_______________________________________________
> >To control your jdom-interest membership:
> >http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list