[SMSNIPPETS-3] v >=2.1.4 Requires Java 11 Created: 16/Mar/20  Updated: 16/Mar/20

Status: Open
Project: Smart Snippets
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 6.1.4, Smart Snippets 2.1.4/2.1.5


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

I am trying to incorporate Smart Snippets into a Magnolia 6.1.4 project and have received the error:

Caused by: java.lang.UnsupportedClassVersionError: nl/info/magnolia/smartsnippets/setup/SmartSnippetsModuleVersionHandler has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [nl.info.magnolia.smartsnippets.setup.SmartSnippetsModuleVersionHandler])

I run Java 8 to ensure anything I build will run in the Magnolia Certified Stack. Is this move to Java 11 a deliberate decision?

Thanks!


Generated at Mon Feb 12 10:57:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.