# Apache wink error

**URL:** <https://forum.getodk.org/t/apache-wink-error/11925>\
**Category:** Support\
**Created:** [February 22, 2018, 1:06pm UTC](https://forum.getodk.org/t/apache-wink-error/11925 "2018-02-22T13:06:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianteare](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/brianteare/32/3458_2.png) [@brianteare](https://forum.getodk.org/u/brianteare)\
**Post date:** [February 22, 2018, 1:06pm UTC](https://forum.getodk.org/t/apache-wink-error/11925/1 "2018-02-22T13:06:44Z")

</div>

I am seeing this error

SEVERE: FAIL - Application at context path /ODKAggregate could not be started  
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ODKAggregate]]

snip

java.lang.UnsupportedClassVersionError: org/opendatakit/aggregate/odktables/impl/api/wink/GaeAwareContentEncodingRequestFilter : Unsupported major.minor version 51.0 (unable to load class org.opendatakit.aggregate.odktables.impl.api.wi

I downloaded and installed ODKAggregete last week so I assume latest version

I have installed on Linux and mysql 5

The app shows up in Tomcat manager but when I try to start it I see the error above.

I am not a tomcat or java specialist and so I am a bit stuck.

---

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/a.n.m_al-imran/32/1610_2.png) [@A.N.M\_AL-IMRAN](https://forum.getodk.org/u/A.N.M_AL-IMRAN)\
**Post date:** [February 22, 2018, 2:44pm UTC](https://forum.getodk.org/t/apache-wink-error/11925/2 "2018-02-22T14:44:31Z")

</div>

Hi,

What version of Tomcat are you using?

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [February 22, 2018, 7:42pm UTC](https://forum.getodk.org/t/apache-wink-error/11925/3 "2018-02-22T19:42:35Z")

</div>

` Unsupported major.minor version` generally means that you are using a different version of Java than the application support.

In this case, you are using Java 7 and ODK Aggregate requires Java 8 (Java 9 support is coming soon). Please also note that Aggregate requires MySQL 5.7 (MariaDB 10.1) or greater.

You can find help on installing Aggregate in the docs at [http://docs.opendatakit.org/aggregate-setup/](http://docs.opendatakit.org/aggregate-setup/)

---

<div class="post-metadata">

**Author:** ![brianteare](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/brianteare/32/3458_2.png) [@brianteare](https://forum.getodk.org/u/brianteare)\
**Post date:** [February 23, 2018, 8:04am UTC](https://forum.getodk.org/t/apache-wink-error/11925/4 "2018-02-23T08:04:47Z")

</div>

Hi, I am using tomcat7, the tomcat seems to be working fine ?

---

<div class="post-metadata">

**Author:** ![brianteare](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/brianteare/32/3458_2.png) [@brianteare](https://forum.getodk.org/u/brianteare)\
**Post date:** [February 23, 2018, 8:05am UTC](https://forum.getodk.org/t/apache-wink-error/11925/5 "2018-02-23T08:05:21Z")

</div>

Thank you, I will try to upgrade java to 8

---

<div class="post-metadata">

**Author:** ![brianteare](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/brianteare/32/3458_2.png) [@brianteare](https://forum.getodk.org/u/brianteare)\
**Post date:** [February 23, 2018, 8:16am UTC](https://forum.getodk.org/t/apache-wink-error/11925/6 "2018-02-23T08:16:24Z")

</div>

I just checked and I am using java 8 I have

echo $JAVA\_HOME  
/usr/lib/jvm/java-8-oracle/jre/bin/java

I had java-6-sun when I installed Aggregate and added Jave 8 afterwards, do I neet to uninstall and re install Aggregate ?

---

<div class="post-metadata">

**Author:** ![brianteare](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/brianteare/32/3458_2.png) [@brianteare](https://forum.getodk.org/u/brianteare)\
**Post date:** [February 23, 2018, 8:57am UTC](https://forum.getodk.org/t/apache-wink-error/11925/7 "2018-02-23T08:57:30Z")

</div>

Seems I had to tell /etc/default/tomcat7 about JAVA\_HOME, working through some new errors now 🙂 I expect to be back soon.

Thanks.

---

<div class="post-metadata">

**Author:** ![brianteare](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/brianteare/32/3458_2.png) [@brianteare](https://forum.getodk.org/u/brianteare)\
**Post date:** [March 6, 2018, 10:47am UTC](https://forum.getodk.org/t/apache-wink-error/11925/8 "2018-03-06T10:47:19Z")

</div>

Just to end on a solution, I rebuilt an ubuntu 16 box with MySql 5.7 and Tomcat 7 and java 8 and it all went according to plan. I guess trying to install Aggregate on an existing platform was my underlying issue.

Thanks very much for the help along the way.
