-2

一位朋友在 CF 9 服务器上运行的两个 CFM 收到错误消息。有错误状态:

标记处理程序查询没有标记库描述符中指定的属性 ormOptions 的设置器

一个快速的谷歌出现了 19 个结果。大多数是未回答的问题,其他人说重新安装 CF 9。如果可能的话,我更愿意提供除重新安装之外的选项。

我试过重启。除此之外,我不知道该去哪里。当谷歌不知道时,我怎么能期望?

注意:我被告知服务器上没有任何变化。cfquery修改了标记的 SQL 内容。此外,Web 应用程序根本没有使用 ORM。

关于从哪里开始的任何想法?


堆栈跟踪

coldfusion.jsp.JRunTagLibraryInfo$NoSuchAttributeException: The tag handler query does not have a setter for the attribute ormOptions specified in the Tag Library Descriptor.
    at coldfusion.jsp.JRunTagLibraryInfo.getPropertyType(JRunTagLibraryInfo.java:627)
    at coldfusion.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:585)
    at coldfusion.jsp.JRunTagLibraryInfo.getTag(JRunTagLibraryInfo.java:267)
    at coldfusion.compiler.NeoTranslationContext.findTagName(NeoTranslationContext.java:346)
    at coldfusion.compiler.NeoTranslationContext.isKnownTag(NeoTranslationContext.java:222)
    at coldfusion.compiler.SemanticAnalyzer.preTransformCftag(SemanticAnalyzer.java:461)
    at coldfusion.compiler.SemanticAnalyzer.preTransform(SemanticAnalyzer.java:46)
    at coldfusion.compiler.Treewalker.postorder(Treewalker.java:21)
    at coldfusion.compiler.Treewalker.postorder(Treewalker.java:27)
    at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:416)
    at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343)
    at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144)
    at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418)
    at coldfusion.util.LruCache.get(LruCache.java:180)
    at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362)
    at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
    at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
    at coldfusion.util.SoftCache.get(SoftCache.java:81)
    at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
4

1 回答 1

1

如果我不得不猜测,我会说服务器是 9.0 而不是 9.0.1。ormOptions在 9.0.1 中引入(根据文档)。

顺便说一句,如果您询问某些代码中的错误,这总是有帮助的:a)发布代码;b)发布确切的错误,就像它在屏幕上一样(打开强大的异常处理)。

这样就不必猜测/假设您的情况。

于 2013-01-22T19:52:54.017 回答