Exit code 143 means that the program received a SIGTERM signal to instruct it to exit, but it did not handle the signal properly. This is almost always due to programming errors, and is pretty common with Java applications of all types.
You should be able to suppress this by adding the exit code into the unit file as a “success” exit status:
It works. and the service goes in the inactive status, as expected.