InvalidParameterValue: Unknown template parameter: JVMOptions
<p>I am trying to set encoding to my Java application on the AWS.</p>

<p>I have the following in my <code>environment.config</code> file:</p>

<pre><code>option_settings:
    - namespace: aws:elasticbeanstalk:container:tomcat:jvmoptions
      option_name: JVM Options
      value: -Dfile.encoding=UTF8
</code></pre>

<p>However, when I deploy the app to the cloud, I get the error status in AWS:</p>

<pre><code>2016-10-05 09:07:13 UTC+0200    ERROR   Failed to deploy application.
2016-10-05 09:07:13 UTC+0200    ERROR   InvalidParameterValue: Unknown template parameter: JVMOptions
</code></pre>

<p>What am I doing wrong?</p>