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 81347 - Missing class on test's class path
Summary: Missing class on test's class path
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 14:54 UTC by Petr Blaha
Modified: 2006-09-07 17:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2006-07-28 14:54:20 UTC
[NetBeans 5.5 Beta2 ]
I have a EJB module with session bean and one test that invokes business method
in the session bean. The test passes when it's invoked via Run File (Shift-F6).
However, when try to debug the test via Debug File, get exception:

1) testGetHello(moje.HelloBeanTest)java.lang.NoClassDefFoundError:
javax/security/jacc/PolicyContextException
	at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:89)

It seems as the classpath for Run and Debug isn't same.
Comment 1 Martin Adamek 2006-08-29 15:09:09 UTC
Reassigning to ejb project
Comment 2 Andrei Badea 2006-09-07 17:51:25 UTC
Can't reproduce in the self-compiled 060905 build. The issue is quite old, so
closing. Please reopen it and attach your project here if you can still reproduce.