-
Java 8 Stream Read a file line by line
In Java 8, you can use Files.lines to read file as Stream.
Date: 2019-08-17 View: 1520
-
Gradle JaCoCo Incompatible version 1006
A Gradle build + JaCoCo coverage report.
Date: 2019-08-17 View: 1520
-
How to use Gradle Wrapper
In this tutorial, we will show you how to create Gradle wrapper for your project and how to use it.
Date: 2019-08-17 View: 1520
-
Jenkins Could not find GradleWrapperMain
Create a Gradle project in Jenkins CI, source management with Git, and build with Gradle Wrapper
Date: 2019-08-17 View: 1520
-
Gradle Exclude commons-logging from Spring
Gradle example to exclude commons-logging from Spring frameworks.
Date: 2019-08-17 View: 1520
-
Gradle Display test results in Console
By default, the test result will not display in the console.
Date: 2019-08-17 View: 1520
-
Gradle How to continue build if test is failed
By default, the Gradle build process will be stopped and failed if any unit test is failed.
Date: 2019-08-17 View: 1520
-
Gradle How to exclude some tests
In this tutorial, we will show you a few examples to exclude some tests in Gradle. Review the following two unit test classes
Date: 2019-08-17 View: 1520
-
How to read and write Java object to a file
Java object Serialization is an API provided by Java Library stack as a means to serialize Java objects. Serialization is a process to convert objects into a writable byte stream. Once converted into a byte-stream, these objects can be written to a file. The reverse process of this is called de-serialization.
Date: 2019-08-17 View: 1520
-
Gradle and JUnit example
In Gradle, you can declare the JUnit dependency like this:
Date: 2019-08-17 View: 1520
-
Java Thread Mutex and Semaphore example
Java multi threads example to show you how to use Semaphore and Mutex to limit the number of threads to access resources.
Date: 2019-08-11 View: 1520
-
Intellij IDEA – Spring boot reload static file is not working
In Eclipse, just include the Spring Boot Dev Tools dependency, then the hot swapping and static file reload will be enabled magically. For Intellij IDE, we need extra steps to enable it.
Date: 2019-08-11 View: 1520
-
wget on Mac OS X
By default, there is no wget on Mac OS X.
Date: 2019-08-11 View: 1520
-
Spring file upload and connection reset issue
A Spring servlet initializer to configure the file upload limit, 5mb per file and 10mb per request.
Date: 2019-08-11 View: 1520
-
Spring MVC file upload example Commons FileUpload
This article will shows you how to use CommonsMultipartResolver to handle file upload in Spring MVC web application.
Date: 2019-08-11 View: 1520