This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162337

Summary: Adding new libraries not reflected in dependent projects
Product: javaee Reporter: sandi_ro <sandi_ro>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description sandi_ro 2009-04-09 18:00:19 UTC
Hi

Having folowing setup: 

Project A - java class library
Project B - web application
project B depends on project A

1) compile and run the wb application all works ok.
2) add library SampleLibrary as a resource needed by project A.
3) make sure we call function FOO in SampleLibrary from a function BAR body from project A
4) deploy and run war created by project B - calling function BAR in turn calls function FOO will generate:
java.lang.NoClassDefFoundError.

Expected result : automagically include classes from SampleLibrary into the war archive.
 
Hope this helps. 
Thanks.
Comment 1 Filip Zamboj 2009-04-17 18:59:59 UTC
does this belong to you guys? 

reporter: please provide build number and jdk you use. marking as incomplete until requested information provided.
thanks a lot. 
Comment 2 sandi_ro 2009-04-17 19:38:31 UTC
Hi ,

I think jdk is not so relevant as it occurs with diferent jdk ( used jdkL 1.6.01, 1.6.10, 1.6.13 )  
netbeans is 6.5. build 200811100001. 

Hope this helps.

Thanks.
Comment 3 David Konecny 2009-04-21 00:12:20 UTC
Variation on issue 47507.

*** This issue has been marked as a duplicate of 47507 ***