简体   繁体   中英

Using Tomcat and JSP files won't compile

Hello I'm using Eclipse Indigo and trying to run Tomcat version 4.1. For some reason Tomcat wont compile my JSP files and I'm completely lost as to why they wont compile. 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. Current production is Tomcat 7. I'd recommend an immediate upgrade.

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

Which JVM version are you trying run under?

My first guess is that your JSPs don't match the servlet/JSP spec version supported by Tomcat. Synch up the JARs and XML configuration to match.

It would help to provide stack traces, error messages, so something more tangible than "won't compile".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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