I just tried to copy and paste DynamicDataDemo1.java, i created an empty java file in the source packages, able to compile it however when i tried to run it i got this error:
init:
deps-jar:
Compiling 1 source file to C:\Program Files\Java\testnetbean\JfreeChart\build\classes
compile-single:
run-single:
java.lang.NoClassDefFoundError: DynamicDataDemo1
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 6 seconds)
Can anyone help me about this? I am still kinda new to netbeans and jFreeChart? Please.
THanks alot.
Just purchased developer guide and got error in netbeans
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Was it because you pasted into the default package, but the source has the statement 'package demo;' at the top?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

