java.lang.NoClassDefFoundError: org/eclipse/birt/report/engine/api/RenderOption

JIRA | Yannick Marcon | 6 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    - make a birt report design in BIRT and test it works - upload it in opal file system - make a report template - run it manually - the following errors are reported on server side: first try: java.lang.NoClassDefFoundError: org/eclipse/birt/report/engine/api/RenderOption at org.obiba.opal.reporting.service.birt.common.BirtReportFormat.<clinit>(BirtReportFormat.java:21) at org.obiba.opal.reporting.service.birt.BirtReportServiceImpl.render(BirtReportServiceImpl.java:43) at org.obiba.opal.shell.commands.ReportCommand.renderAndSendEmail(ReportCommand.java:121) at org.obiba.opal.shell.commands.ReportCommand.execute(ReportCommand.java:86) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:114) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.eclipse.birt.report.engine.api.RenderOption at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 more next attempts: java.lang.NoClassDefFoundError: Could not initialize class org.obiba.opal.reporting.service.birt.common.BirtReportFormat at org.obiba.opal.reporting.service.birt.BirtReportServiceImpl.render(BirtReportServiceImpl.java:43) at org.obiba.opal.shell.commands.ReportCommand.renderAndSendEmail(ReportCommand.java:121) at org.obiba.opal.shell.commands.ReportCommand.execute(ReportCommand.java:86) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:114) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    JIRA | 6 years ago | Yannick Marcon
    java.lang.NoClassDefFoundError: org/eclipse/birt/report/engine/api/RenderOption
  2. 0

    - make a birt report design in BIRT and test it works - upload it in opal file system - make a report template - run it manually - the following errors are reported on server side: first try: java.lang.NoClassDefFoundError: org/eclipse/birt/report/engine/api/RenderOption at org.obiba.opal.reporting.service.birt.common.BirtReportFormat.<clinit>(BirtReportFormat.java:21) at org.obiba.opal.reporting.service.birt.BirtReportServiceImpl.render(BirtReportServiceImpl.java:43) at org.obiba.opal.shell.commands.ReportCommand.renderAndSendEmail(ReportCommand.java:121) at org.obiba.opal.shell.commands.ReportCommand.execute(ReportCommand.java:86) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:114) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.eclipse.birt.report.engine.api.RenderOption at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 more next attempts: java.lang.NoClassDefFoundError: Could not initialize class org.obiba.opal.reporting.service.birt.common.BirtReportFormat at org.obiba.opal.reporting.service.birt.BirtReportServiceImpl.render(BirtReportServiceImpl.java:43) at org.obiba.opal.shell.commands.ReportCommand.renderAndSendEmail(ReportCommand.java:121) at org.obiba.opal.shell.commands.ReportCommand.execute(ReportCommand.java:86) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:114) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    JIRA | 6 years ago | Yannick Marcon
    java.lang.NoClassDefFoundError: org/eclipse/birt/report/engine/api/RenderOption
  3. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    junit runs fine when run with gradle on command line but fails to run on eclipse as a junit test

    Stack Overflow | 2 years ago | Neeraj
    java.lang.ClassNotFoundException: app.services.storage.daos.LoggedInUserDaoTest

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 2 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 3 weeks ago
68 more registered users
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.eclipse.birt.report.engine.api.RenderOption

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    6 frames
  3. org.obiba.opal
    CommandJob.run
    1. org.obiba.opal.reporting.service.birt.common.BirtReportFormat.<clinit>(BirtReportFormat.java:21)
    2. org.obiba.opal.reporting.service.birt.BirtReportServiceImpl.render(BirtReportServiceImpl.java:43)
    3. org.obiba.opal.shell.commands.ReportCommand.renderAndSendEmail(ReportCommand.java:121)
    4. org.obiba.opal.shell.commands.ReportCommand.execute(ReportCommand.java:86)
    5. org.obiba.opal.shell.CommandJob.run(CommandJob.java:114)
    5 frames
  4. Shiro
    SubjectRunnable.run
    1. org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
    2. org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
    2 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:662)
    6 frames