Java class cached in ColdFusion

只愿长相守 提交于 2019-12-22 18:10:35

问题


When developing my own Java class to use within ColdFusion 8 I stumble upon a problem that ColdFusion doesn't recognize that the *.java or *.class was changed, at least i don't see the change I made appear on the page. Is it some kind of caching issue?


回答1:


You might try using the JavaLoader from RIAForge. It lets to specify a JAR or .class file to load. It doesn't even need to be in the classpath so you can store the JAR in with your CFML if you like. I'm pretty sure its not impacted by caching.

http://javaloader.riaforge.org/




回答2:


Make sure that "HotDeploy" is not turned off... :)



来源:https://stackoverflow.com/questions/1361276/java-class-cached-in-coldfusion

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!