[jdom-interest] using jdom-b8 with java2

Stephan Trebels stephan at ncube.de
Thu Apr 3 23:18:28 PST 2003


Did you add the generated jdom.jar to JDeveloper's classpath?

On Fri, 2003-04-04 at 09:31, SVGK, Raju (Raju) wrote:
> Hi,
> 
> I am using 
> 
> java version "1.3.1_02" Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.3.1_02-b02) OJVM Client VM (build 9.0.2.579 cdov, Copyright (c)
> 1998-2002  Oracle Corp., nojit)
> 
> and jdom-b8 version.
> 
> I ran jdom-b8 build to in integrate this with Java. I got the following
> message.
> 
> D:\Documents and Settings\svgk\My Documents\downloads\jdom-b8>build
> JDOM Build System
> -------------------
> Building with classpath
> C:\JDeveloper\jdk\\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;.\lib\jaxp.j
> ar;
> Starting Ant...
> Buildfile: build.xml
> 
> init:
>      [echo] ----------- JDOM 1.0beta8-dev [2002] ------------
> 
> prepare:
> 
> prepare-src:
> 
> collections:
> 
> compile:
> 
> about:
> 
> package:
> 
> BUILD SUCCESSFUL
> 
> Total time: 3 seconds
> 
> Now when I import the following packages
> 
> import org.jdom.*;
> import org.jdom.output.*;
> import org.jdom.input.*;
> 
> I got the following errors:
> 
> Error(4,1): cannot access directory org\jdom; verify that directory is
> reachable from classpath and/or sourcepath
> Error(5,1): cannot access directory org\jdom\output; verify that directory
> is reachable from classpath and/or sourcepath
> Error(6,1): cannot access directory org\jdom\input; verify that directory is
> reachable from classpath and/or sourcepath
> Error(12,72): class JDOMException not found in class raju.XMLParser
> Error(60,36): class Element not found in class raju.XMLParser
> Error(80,36): class Element not found in class raju.XMLParser
> ..................etc
> 
> Pl. help me.
> 
> regds
> -raju
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
-- 
        Stephan Trebels <stephan at ncube.de>   Consultant
company: nCUBE Deutschland GmbH, Hanauer Str. 56, 80992 Munich, Germany
phone: cell:+49 172 8433111  office:+49 89 1498930  fax:+49 89 14989350





More information about the jdom-interest mailing list