|No preview in Photon (BIRT 4.7) [message #1792666]
||Fri, 20 July 2018 16:12
| Alexey Zhelezov
Registered: July 2018
18-19.07.2018 I have installed PHOTON from https://www.eclipse.org/downloads/ (on Linux and Windows) with the option "Eclipse IDE for Java and Report Developers".|
That is installing Eclipse Photon with BIRT 4.7.
Preview is not working, blaming org.eclipse.jetty.util.Decorator
I have found several related bug reports, f.e. https://bugs.eclipse.org/bugs/show_bug.cgi?id=529990
But I have found the following: as a solution for another bug, when a part of jetty features was removed from Eclipse, BIRT has "hardcoded" them in requirements. So even in 4.7, it reference jetty 9.4.5.
Photon comes with 9.4.10, as the result both are installed. The button is using 9.4.5, but it seems like something is messed (I have found some discussions about Decorator interface placement, something was changed there).
As a workaround, I have upgraded to BIRT 4.8 using http://download.eclipse.org/birt/update-site/photon-interim/
After that, jetty 9.4.5 was excluded from dependencies and preview menu WORKS.
I guess the same effect can be achieved by manually tweaking 4.7, if someone do not want 4.8. But I have not tested that.
PS. I do not use BIRT myself... probably what I have written is known and obvious, but for me that was tricky to find.
Powered by FUDForum
. Page generated in 0.01652 seconds