JBOSS JSP 预编译 |过时的 jsp 错误
我正在尝试在我们的 WAR 中预编译 JSP。我的 Ant 脚本分为两部分。首先它创建源代码,然后编译。
最初创建一些源文件。此后,将引发以下错误:
[jasper2] 2010-11-12 16:58:49,865 DEBUG [org.apache.jasper.JspC] [processFile] [Thread:main] - [Processing file: /categoryLanding/content/jeans_body.jsp]
[jasper2] 2010-11-12 16:58:49,868 DEBUG [org.apache.jasper.JspC] [processFile] [Thread:main] - [/category/content/body.jsp is out dated, compiling...]
有什么想法可能导致 jsp 被视为过时的吗?
I am trying to precompile JSPs in our WAR. My ant script does this in 2 parts. First it creates the source, and then it compiles.
Initially a few source files are created. thereafter, the following error is thrown:
[jasper2] 2010-11-12 16:58:49,865 DEBUG [org.apache.jasper.JspC] [processFile] [Thread:main] - [Processing file: /categoryLanding/content/jeans_body.jsp]
[jasper2] 2010-11-12 16:58:49,868 DEBUG [org.apache.jasper.JspC] [processFile] [Thread:main] - [/category/content/body.jsp is out dated, compiling...]
Any ideas what could be causing the jsp to be viewed as an outdated one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 ant 脚本是否没有碰触 .jsp 文件日期?
来自 http://www.docjar.com/html/ api/org/apache/jasper/JspC.java.html
Is your ant script not touching .jsp file dates by any chance?
From http://www.docjar.com/html/api/org/apache/jasper/JspC.java.html