Copy link to clipboard
Copied
Hi, I have a REST-service that is working excellent on CF11. When I copy the files to a new CF2023 server and try to register the service in the administrator I get the following error when the model contains either fieldType="one-to-many" or fieldType="one-to-one"
exception.log:
Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.spi.SharedSessionContractImplementor not found by orm [155]
I tried it with the original build-in Java 17.0.6 and 17.0.8
I don't think it has to do with Java. I suspect your ColdFusion 2023 installation is missing one or more ORM packages.
Some questions, for context:
<cfdump var = "#createobject('java','org.hibernate.engine.spi.SharedSessionContractImplementor')#">
After installing the Update 5, that was released this Friday, I am able to register the REST-Service on Windows and Linux in the Coldfusion Administrator.
Thanks BKBK!
Copy link to clipboard
Copied
I don't think it has to do with Java. I suspect your ColdFusion 2023 installation is missing one or more ORM packages.
Some questions, for context:
<cfdump var = "#createobject('java','org.hibernate.engine.spi.SharedSessionContractImplementor')#">
Copy link to clipboard
Copied
After installing the Update 5, that was released this Friday, I am able to register the REST-Service on Windows and Linux in the Coldfusion Administrator.
Thanks BKBK!
Copy link to clipboard
Copied
I'm glad to have helped.