Showing posts with label IDE. Show all posts
Showing posts with label IDE. Show all posts

Tuesday, 8 October 2019

Encoding Issue Running Gradle Test

Gradle setup: if having a problem at the command line

It may due to missing encoding set in the Gradle property.

We may setup the encoding convention to force the JVM using a specific encoding strategy.

org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m 
-XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

Setup Gradle Properties

JVM Configuration Attributes

Intellij setup: if having a problem at the IDE

Intellij  GOTO 'Help' Tab, Click 'Edit Custom VM Option'

adding

-Dfile.encoding=UTF8






Friday, 5 April 2019

Setting Up Spring boot Dev Tool Live-Reload In Intellij

1.  Ctrl +Shift +A search Registry(Double Shift search Registry)
check
compiler.automake.allow.when.app.running

then Close




2. Ctrl+Alt+S

Build, Execution, Deployment/Compiler

Check    Build project automatically

Then press 'Apply'

Can Jackson Deserialize Java Time ZonedDateTime

Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...