Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle App Engine DEFAULT_ENCODING fails in local environment Java
    text
    copied!<p>Following Instructions detailed here: <a href="https://developers.google.com/appengine/docs/java/config/appconfig#System_Properties_and_Environment_Variables" rel="nofollow">https://developers.google.com/appengine/docs/java/config/appconfig#System_Properties_and_Environment_Variables</a> To set the Default Encoding to UTF-8 like so:</p> <pre><code>&lt;env-variables&gt; &lt;env-var name="DEFAULT_ENCODING" value="UTF-8" /&gt; &lt;/env-variables&gt; </code></pre> <p>Throws the following exception:</p> <blockquote> <p>com.google.appengine.tools.development.EnvironmentVariableChecker$IncorrectEnvironmentVariableException: One or more environment variables have been configured in appengine-web.xml that have missing or different values in your local environment. We recommend you use system properties instead, but if you are interacting with legacy code that requires specific environment variables to have specific values, please set these environment variables in your environment before running. [Mismatch environmentVariableName=DEFAULT_ENCODING environmentVariableValue=null appEngineWebXmlValue=UTF-8 appEngineWebXmlFile=C:\xxx\out\artifacts\yyy_war_exploded\WEB-INF\appengine-web.xml] at com.google.appengine.tools.development.EnvironmentVariableChecker.check(EnvironmentVariableChecker.java:75)</p> </blockquote> <p>I have tried this:</p> <pre><code>-DDEFAULT_ENCODING=UTF-8 </code></pre> <p>And this:</p> <pre><code>-Dfile.encoding=UTF-8 </code></pre> <p>On the server launch configuration and </p> <pre><code>JAVA_TOOLS_OPTIONS=-Dfile.encoding=UTF-8 -DDEFAULT_ENCODING=UTF-8 </code></pre> <p>I'm using Windows 8 pro and Intellij Ultimate</p> <p>Please help</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload