Getting error log while previewing report from Jasper -

Getting error log while previewing report from Jasper -

net.sf.jasperreports.engine.JRException: java.lang.NoClassDefFoundError: org/apache/logging/log4j/ThreadContext
    at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:548)
    at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$20(ReportControler.java:523)
    at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:404)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/ThreadContext
    at com.labvantage.sapphire.Trace.logInfo(Trace.java:222)
    at com.labvantage.sapphire.Trace.logInfo(Trace.java:210)
    at sapphire.util.Logger.logInfo(Logger.java:105)
    at sapphire.report.JasperReportScriptlet.beforeReportInit(JasperReportScriptlet.java:90)
    at net.sf.jasperreports.engine.fill.JRFillDatasetScriptlet.beforeReportInit(JRFillDatasetScriptlet.java:74)
    at net.sf.jasperreports.engine.JRAbstractScriptlet.callBeforeReportInit(JRAbstractScriptlet.java:176)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:236)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:115)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:582)
    at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:123)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.ThreadContext
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 11 more
 

Attachments: 
ajoys_1's picture
Joined: Jul 5 2021 - 4:37am
Last seen: 4 days 10 hours ago

0 Answers:

No answers yet
Feedback
randomness