Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
M2Eclipse with WTP Support 0.9.7.200811301806
Description
With 2 module mod1 mod2 and mod2 refering mod1 ejb-client, classpath is wrong when running unit test or Java Application : ClassNotFoundException for mod1 classes.
This does not happen with ejb dependecy and does not happen with no workspace project dependencies.
Test case attached.
Import attached "m2bug" and try to run unit test in module2/src/test/java/m2bug/M1Test
You'll get ClassNotFoundException if "Resolve dependencies from Workspace projects" is checked on module2.