Tomcat6 and Java 7

后端 未结 4 933
别跟我提以往
别跟我提以往 2020-12-09 05:59

In linux, is it possible to have a web application written using Java 7 be deployed on tomcat6? If so, what configuration needs to be modified to allow it to work?

I

4条回答
  •  一整个雨季
    2020-12-09 06:27

    I have run into similar problem and it seems that JDK 1.7 doesn't have backward compatibility with Tomcat 6. You need to deploy it to Tomcat 7 or recompile using JDK 1.6.

提交回复
热议问题