raymondcamden
08/31/2022, 3:25 PMbdw429s
08/31/2022, 3:31 PMbdw429s
08/31/2022, 3:31 PMAdam Cameron
raymondcamden
09/01/2022, 1:48 AMAdam Cameron
raymondcamden
09/01/2022, 8:09 PMraymondcamden
09/01/2022, 8:32 PMraymondcamden
09/01/2022, 8:32 PMAdam Cameron
setPageContext not being found, and I had been getting that earlier in the piece when I was passing the wrong type into the method, as Java was not finding a method overload for setPageContext(WrongType) .
I'm on 2021,0,04,330004, which is running in a container built from adobecoldfusion/coldfusion2021:latest y/day.
Might be worth checking a writeDump(getPageContext()). For me it's a coldfusion.runtime.NeoPageContext, which I was not able to coerce the inline Java to find, but that extends javax.servlet.jsp.PageContext, and that's enough to expose the getOut method anyhow, so just ran with that.Adam Cameron
sorry no - the new Java stuff doesnt work at allSounds to me like commandbox is spinning up CF2018, not CF2021.
raymondcamden
09/01/2022, 8:51 PM