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

JIRA | Yannick Marcon | 6 years ago
  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

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

    Stack Overflow | 1 year ago | Neeraj
    java.lang.ClassNotFoundException: app.services.storage.daos.LoggedInUserDaoTest
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error while running struts 2 code

    Stack Overflow | 2 years ago | Abhinash Jha
    java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObjectContainer
  6. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: org/jooq/impl/JooqLogger

    GitHub | 4 years ago | lukaseder
    java.lang.NoClassDefFoundError: org/jooq/impl/JooqLogger

  1. andyglick 2 times, last 2 days ago
  2. richard77 1 times, last 5 days ago
  3. musketyr 2 times, last 5 days ago
  4. michallos 2 times, last 5 days ago
  5. batwalrus76 2 times, last 5 days ago
67 more registered users
28 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