1

我已经使用 CF9 创建了自定义标签(7 个文件,嵌套标签)并使用 cfimport 调用它,当我在带有内置 CF Web 服务器的 CF9 开发版的笔记本上运行它时,它运行没有问题,但是当我在 IIS 上运行它时有时它只显示空白页或部分执行(从不完全运行)

错误堆栈跟踪:

java.lang.IncompatibleClassChangeError
 at coldfusion.excel.Excel.createNewWorkbook(Excel.java:118)
 at coldfusion.excel.Excel.<init>(Excel.java:86)
 at coldfusion.runtime.CFPage.SpreadSheetNew(CFPage.java:6779)
 at cfsheet2ecfm424522201.runPage(C:\Inetpub\wwwroot\tscf\spreadsheet\sheet.cfm:73)
 at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
 at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
 at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:271)
 at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
 at cfexcel2ecfm1846306446.runPage(C:\Inetpub\wwwroot\tscf\excel.cfm:19)
 at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
 at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
 at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
 at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:342)
 at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
 at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
 at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
 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)  

注意:java.lang.IncompatibleClassChangeError 它发生在我使用 SpreadsheetNew() 函数时,即使仅通过简单的 SpreadsheetObj = SpreadsheetNew() 调用它

env 1:
CF9 dev edition
win 7 professional
built in cf web server
java 1.6.0_16

环境 2:CF9 企业赢 2003 IIS 6 java 1.6.0_20

谢谢你

4

0 回答 0