I also experienced this today, but it was indeed quite a simple fix.
You can also, instead of adding the additional dependency on jdom v1,
upgrade the imports from jdom to jdom2; it worked for me out of the box.
I think thatâs a better approach too.
However, no clue how that got in, since no upgrade / dependency change happened on our end.
Maybe removal of a deprecated version we were using?
I did not do the jdom2 upgrade in my pull request, as I do not have any means to test the changes applied. According to jdom.org, jdom2 is a complete rewrite, so it is advisable to perform a small test with the real end application.
I wasted a lot of time checking out the issue, as I now have the build problem without changing anything. Yesterday, everything was fine. Anyhow, it is still a riddle to me how it was built in the first place without the package being imported.
The build pipeline runs on ubuntu-latest. Maybe an update in one of the build components was pushed last night.
Looks like one of the developers has re-published the zwave dependency and that had a runtime dependency on org.jdom but doesnât anymore. org.jdom2 is another transient runtime dependency.
Hi,
I experienced the same issue one hour ago. I changed the import to jdom2 in SequenceNumberPersistencyManager.java but I still have errors:
Could not compile build file '/home/energy/or/custom-project/agent/build.gradle'.
> startup failed:
General error during conversion: Unsupported class file major version 65
java.lang.IllegalArgumentException: Unsupported class file major version 65
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:199)
etcâŚ
Itâs strange, I tried before that to add implementation "org.jdom:jdom:1.1.3"
in the /custom-project/agent/build.gradle file, but as it didnât work I removed it again. Theoretically the build.gradle file is restored to its original state.
Any hints?