Re: module dependency problems

Tim Boudreau <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CA+qecRP=29C47h47Cuaa41uWxjoP6sJTHHzih9AuAitjS7b73w@mail.gmail.com>
A needs a dependency on C.  The NetBeans module system's dependencies are
explicit, not transitive.

In a test, you are not loading the classes using the module system's
classloaders.

-Tim

On Thu, Jan 28, 2016 at 5:10 AM, jaejong <[email protected]> wrote:

> I am developing app using IDE 8.1.
> I have three modules in my app module A,B and C.
> modules C is utility module so module A and B depend on C.
> module A is top level, so have dependency of B and C.
> When module A use class in module B,  java.lang.NoClassDefFoundError is
> found about class in module C.
>
> Of cause, Packages in module B and C are exported as public.
>
> When I am doing unit test, this error is not found.
> The error is found when I run in IDE.
> Am I wrong? or Is there any solution?
> Thanks!!
>
>
>
>
>


-- 
http://timboudreau.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.