gradle process command java finished with non-zero exit value 1
Looking at the logs this appears to be your problem:
nested exception is org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [inser t into users (username, password, enabled) values (?,?,?)]; Data truncation:
Data too long for column 'password' at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'password' at row 1.
Anyway you can truncate the password size? Otherwise increasing the 'password' column size should do the trick.
java.exe finished with non-zero exit value 1
Unfortunately you cannot directly use Apache POI on Android due to third party library dependencies that are pulled in. Also the size of the library causes a very big application file, which is often not possible/desirable. You even sometimes exceed limits imposed by the Dalvik Android Bytecode compilation.
There are some resources available which discuss how to get POI running on Android:
- https://github.com/andruhon/android5xlsx - repackaged jars with duplicate packages in XMLBeans removed
- http://blog.kondratev.pro/2015/08/reading-xlsx-on-android-4-and-hopefully.html
- Apache POI with Android -- How to Create ,Read , Write, Delete PowerPoint Presentations?
Android java.exe finished with non-zero exit value 1
It must have been a problem with my Java install. I removed all traces of Java (C://program files/Java/jdk) and jre folders and reinstalled it from the official page and now it works fine.
Related Topics
Convert Multi If-Else to Simple Lambda Expression Code in Java
Getting 400 for Spring Resttemplate Post
Largest and Smallest Integer - Exercise from Deitel'S Java Book
Connection Java - Mysql:Public Key Retrieval Is Not Allowed
How to Fix: Error Creating Bean With Name:Unsatisfied Dependency Expressed Through Field
How to Run Java Program in Terminal With External Library Jar
How to Convert a One-Dimensional Array to Two-Dimensional Array in Java
Generate 6 Digit Random Number
How to Get Spring Boot to Automatically Create Database Schema
How to Read File from Relative Path in Java Project? Java.Io.File Cannot Find the Path Specified
How Is This Wrong - Hackerrank Loop in Java
Return Json Object from a Spring-Boot Rest Controller
How Would You Make a !!Say Command for a Discord Bot
The Request Was Rejected Because No Multipart Boundary Was Found in Springboot
How to Pass JavaScript Values to Scriptlet in Jsp