Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我开发了一个 J2EE 应用程序,其中我使用 jasper 报告开发了一个报告。我使用 Netbeans6.9 IDE 和 apache tomcat 服务器进行部署。现在,当我在本地 pc 上运行我的应用程序时,报告工作正常,即生成了 excel。但是当我在 JBoss 服务器上部署我的 aaplication 的 war 文件时,报告不起作用,它给出了这个错误:
“页面指令具有无效属性:trimDirectiveWhitespaces”
.
该trimDirectiveWhitespaces属性已添加到 JSP 2.1 中的页面指令中。您正在部署的 JBoss 版本可能不符合 JSP 2.1。
trimDirectiveWhitespaces