I'm trying to use the JDOM package for a little web app, but I can't seem to get my code to compile properly so I think I'm making a rookie mistake somewhere...
I've got
C:\Tomcat\webapps\ROOT\WEB-INF\
in my classpath,
and jdom.jar is located in
C:\Tomcat\webapps\ROOT\WEB-INF\lib\
(along with xerces.jar -not sure if this is necessary but can't hurt until I get it working)
My java file starts off with,
import org.jdom.*;
import org.jdom.input.*;
which give me the following at compilation,
MyClass.java:28: package org.jdom does not exist
import org.jdom.*;
^
MyClass.java:29: package org.jdom does not exist
import org.jdom.input.*;
^
I've also tried
import jdom.*;
which gives me the same error
jdom.jar contains:
org>jdom>"classes I need"
I've obviously not importing properly, but can't figure this out. I was simply using Eclipse to include libraries before, but I'd like to get more hands on :)