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.
Try to execute the default HelloWorld in examples package in projects build from 20.11. result: java.lang.NoClassDefFoundError: examples/HelloWorld Exception in thread "main"
Created attachment 8022 [details] Exception has been thrown
Fixed
Oops, sorry, mistakenly closed another issue than intended.
Silly question -- did you compile the class (or the project) first ? Could you please run the ide with "-J-DIDE-Exec=0" and paste here the output produced to the console ?
I think that main point of this issue is that SampleProject is not completly set for instant execution (default build target, java platform). But it's definitely not P1 IMHO.
If that is the point then please note that Execution profiles, which (only recently) include the build-before-run feature are not yet there; I am waiting for projects team in this area. I will set up the default build target in the template.
I know that, lowering prio to standard P3.
Yes, that was the problem. I agree with P3 ;-)
Fixed -- build before execute is implemented by projects infrastructure. Please see issue #28908 for remaining problems with first startup.
Verified
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.