• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Call Crystal Reports from Java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please KeepItDown.
 
Your mother is a hamster and your father smells of tiny ads!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic