tomcat7 package compiled with java 1.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat7 (Ubuntu) |
Triaged
|
Undecided
|
Nish Aravamudan |
Bug Description
Tomcat 7 package for Ubuntu 16.04.2 LTS (xenial) was compiled with java 1.8.
Must be compiled with java 1.7 due to compilation issues that leads to exceptions like this:
```
ERROR - ContextLoader.
java.lang.
at org.apache.
at org.apache.
at org.springframe
at org.springframe
at org.springframe
```
It is detailed by Mike Seaton at this post:
https:/
> If I install the tomcat7-user package on Ubuntu 14.04, the contents of META-INF/
```
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.3
Created-By: 1.7.0_79-b14 (Oracle Corporation)
Specification-
Specification-
Specification-
Implementation-
Implementation-
Implementation-
X-Compile-
X-Compile-
```
> By contrast, installing the same package on Ubuntu 16.04 shows these contents in the same file:
```
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.6
Created-By: 1.8.0_01-
Specification-
Specification-
Specification-
Implementation-
Implementation-
Implementation-
X-Compile-
X-Compile-
```
My current workaround is to replace /usr/share/tomcat7 with official apache tomcat7 binary tar.gz .
Hello and thank you for filing this bug report!
I am reviewing the related bug reports and will provide an update later today.
Is there a simple testcase for reproducing this issue?