[#12011] - java.lang.NoClassDefFoundError with older compilers in Studio 6.6.0/6.9.0

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

I installed an older compiler-version (here 6.2.1 or 6.4.0) in the Studio (CE) 6.6.0 and 6.9.0 and chose that version
for compiling a subreport. The compatibility setting was also 6.2.1. JDK compliance is 1.6.
After restarting the Studio and compiling the subreport different errors appear:

An internal error occurred during "Building report!".
java.lang.NoClassDefFoundError:
org/apache/common/logging/LogFactory

I tried to add that library but got another message:

An internal error occurred during: "Building report".
java.lang.NoClassDefFoundError: Could not initialize class
net.sf.jasperreports.engine.DefaultJasperReportsContext

When using the old version of the Studio(!) 6.2.1 it works but that is just a workaround.

By the way:
Using "6.6.0 (current)" instead of "always the current" (Studio 6.6.0) does not compile at all with the different buttons
and meny entries (without errors). This has been described already by others.

Thanks!
Franky

AttachmentSize
Image icon compiler-compatibility.jpg87.22 KB
v6.6.0
Jaspersoft® Studio
franky4's picture
45
Joined: Jan 5 2016 - 2:15am
Last seen: 1 week 3 days ago
Feedback
randomness