tony1223 / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

Jars under WEB-INF/lib aren't found unless on eclipse projects classpath #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have an eclipse project that represents a war.

Under is this directory structure

WarProject
   -> war
        -> WEB-INF
            -> lib
                -> lots of jars

I point run-jetty-run to the war directory.

When i run, I get loads of ClassNotFoundExceptions for classes found in the 
jars under the WEB-INF/lib directory. (I have no classes in WEB-INF/classes, 
but i don't think that matters).

If I edit the Project's -> Properties -> Java Build Path -> Libraries tab to 
include all the jars found in lib, then it works fine.

I'm not sure why rjr isn't finding these jars by default.

Running on Ubuntu 10.10 Jdk6.18

Original issue reported on code.google.com by mebigfat...@gmail.com on 4 Feb 2011 at 6:02

GoogleCodeExporter commented 9 years ago
Because it want to prevent load the jars in lib twice , 
in general web project , the lib is always in classpath.

But actully this is a defect I think ,
I am still thinking for how to fix it well.

Original comment by tonylovejava on 6 Mar 2011 at 11:24

GoogleCodeExporter commented 9 years ago
Fix since 2011/3/7 , will in next build 1.2.0.
For more detail ,see #50 .

Original comment by tonylovejava on 7 Mar 2011 at 9:57

GoogleCodeExporter commented 9 years ago
it's commited for r61 .

Original comment by tonylovejava on 7 Mar 2011 at 9:58

GoogleCodeExporter commented 9 years ago

Original comment by tonylovejava on 10 Mar 2011 at 7:40