can someone help me please....
iam first time to call Crystalreports from
JAVA
this is part of code:
private static final
String REPORT_NAME = "jeremia.rpt";
public static void launchApplication() {
try {
//Open report.
ReportClientDocument reportClientDoc = new ReportClientDocument();
if (reportClientDoc.isOpen()){
System.out.println("Sudah terbuka");
}else{
reportClientDoc.open(REPORT_NAME, 1);
}
i try to debuging this code, but until code "reportClientDoc.open(REPORT_NAME, 1); "
i get that error :
Exception in
thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
Iam using NETBEANS
IDE to compile it.
What does it means, of that error?
Thanks