简体   繁体   English

使用Tomcat和JSP文件将无法编译

[英]Using Tomcat and JSP files won't compile

Hello I'm using Eclipse Indigo and trying to run Tomcat version 4.1. 您好,我正在使用Eclipse Indigo并尝试运行Tomcat 4.1。 For some reason Tomcat wont compile my JSP files and I'm completely lost as to why they wont compile. 出于某种原因,Tomcat不会编译我的JSP文件,而我对它们为什么无法编译完全迷失了。 I've had my co workers look at it but so far nothing has helped. 我已经让我的同事来看看,但是到目前为止没有任何帮助。

I was wondering if anyone had an idea of what settings I should look at and how I should change it so that there is some progress made? 我想知道是否有人对我应该查看哪些设置以及如何更改它有所了解,以便取得一些进展? Thank you for your time and help. 感谢您的时间和帮助。

Tomcat 4.1 is a very old version, indeed. 的确,Tomcat 4.1是一个非常旧的版本。 Current production is Tomcat 7. I'd recommend an immediate upgrade. 当前生产的是Tomcat7。建议立即升级。

http://tomcat.apache.org/whichversion.html http://tomcat.apache.org/whichversion.html

Which JVM version are you trying run under? 您尝试在哪个JVM版本上运行?

My first guess is that your JSPs don't match the servlet/JSP spec version supported by Tomcat. 我的第一个猜测是您的JSP与Tomcat支持的servlet / JSP规范版本不匹配。 Synch up the JARs and XML configuration to match. 同步JAR和XML配置以使其匹配。

It would help to provide stack traces, error messages, so something more tangible than "won't compile". 这将有助于提供堆栈跟踪,错误消息,因此比“不会编译”更明显。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM