dotcms/dotcms-dev:java-25 image not working
Open
A pull request for this has already been merged.
- #35718 by @wezell — merged
OKR : Customer Support
stale
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Problem Statement
It seems like the.dotCMS-dev Java 25 image is shipping with Java 21 inside of it. We need to ship this with Java 25 inside of it.
Steps to Reproduce
Try to run dotcms/dotcms-dev:java-25 - it fails to start with
java.lang.UnsupportedClassVersionError: com/dotcms/cdi/business/EnterpriseFeatureInterceptor
has been compiled by a more recent version of the Java Runtime (class file version 69.0),
this version of the Java Runtime only recognizes class file versions up to 65.0
Acceptance Criteria
Work
dotCMS Version
26.04
Severity
Critical - System unusable
Links
https://dotcms.slack.com/archives/C029PPBDE/p1778247599318899
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the build definition for the dotcms/dotcms-dev:java-25 image and inspect which Java runtime it contains. Reproduce the failure from the issue, then verify that the image reports Java 25 and starts without the UnsupportedClassVersionError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100