I have a problem with my classpath that has me baffled. I'm using the
Apache commons libraries in a small servlet. I have the Apache commons
jar files in both my web-app library directory and also in my resin
library directory, but the servlet fails to start because of unresolved
compilation issues with the apache libraries. 

I'm using Resin 2.1.17, and cannot upgrade right now, on Windows XP XP2,
with Apache 2.0.59 (ditto). 

What really gets me is this was working for awhile (wild cheers), then
stopped (sob). The libraries are still there and I didn't change the
servlet code. I've re-booted and restarted and stood on my head, but
it's not resolving this path issue.

Here's the classpath according to the resin stdout log file, and lo and
behold, the commons libraries are listed:

Classpath=C:\Program Files\resin-2.1.17\classes;C:\Program
Files\resin-2.1.17\lib\resin.jar;C:\Program
Files\java\j2sdk1.4.2_13\lib\tools.jar;C:\Program
Files\java\j2sdk1.4.2_13\jre\lib\rt.jar;C:\Program
Files\resin-2.1.17\lib\commons-fileupload-1.2.jar;C:\Program
Files\resin-2.1.17\lib\commons-io-1.3.2.jar;C:\Program
Files\resin-2.1.17\lib\dom.jar;C:\Program
Files\resin-2.1.17\lib\jaxp.jar;C:\Program
Files\resin-2.1.17\lib\jmx.jar;C:\Program
Files\resin-2.1.17\lib\jsdk23.jar;C:\Program
Files\resin-2.1.17\lib\jta_101.jar;C:\Program
Files\resin-2.1.17\lib\sax.jar;C:\Program
Files\resin-2.1.17\lib\webutil.jar

The resin error log file shows this:
[2007/09/07 14:05:59] Unresolved compilation problems: 
        The import org.apache cannot be resolved
        
I'm at a loss. Is there some other trick? 

Janene 



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to