-
Spring Boot Log4j 2 example
In this tutorial, we will show you how to use Apache Log4j 2 in Spring Boot framework.
Date: 2019-08-11 View: 1336
-
SLF4J Logback Tutorial
A simple SLF4J with Logback example.
Date: 2019-08-11 View: 1486
-
Java How to Iterate a HashMap
In Java, there are 3 ways to loop or iterate a HashMap
Date: 2019-08-11 View: 1259
-
Maven source value 1.5 is obsolete and will be removed in a future release
In IntelliJ IDEA, Maven builds a project, and hits the following warning message?
Date: 2019-08-11 View: 1761
-
Java Files.readAllBytes example
In Java, we can use Files.readAllBytes to read a file.
Date: 2019-08-11 View: 1420
-
Java How to append text to a file
In Java, we can use Files.write and StandardOpenOption.APPEND to append text to a file.
Date: 2019-08-11 View: 1393
-
Java How to create and write to a file
In Java, we can use Files.write (Since JDK 7) to create and write to a file, one line, simple and nice. See the following examples :
Date: 2019-08-11 View: 1317
-
Java How to read a file
In Java, there are few ways to read a file.
Date: 2019-08-11 View: 1253
-
Java How to send Email
To send email in Java, we need JavaMail
Date: 2019-08-11 View: 1345
-
Spring Boot How to send email via SMTP
In this tutorial, we will show you how to send email via SMTP in Spring Boot.
Date: 2019-08-11 View: 1235
-
Spring Read file from resources folder
In Spring, we can use ClassPathResource or ResourceLoader to get files from classpath easily.
Date: 2019-08-11 View: 1336
-
Java Could not find or load main class
A popular error message for new Java users.
Date: 2019-08-11 View: 1393
-
javac is not recognized as an internal or external command, operable program or batch file
A popular common error for new Java users.
Date: 2019-08-11 View: 1440
-
Is Java pass-by-value or pass-by-reference?
In Java, for primitive types, parameters are pass-by-value; For object types, object reference is pass-by-value, however, Java is allowed to modify object’s fields via object reference.
Date: 2019-08-11 View: 1246
-
Java List java.lang.UnsupportedOperationException
A simple List.add() and hits the following java.lang.UnsupportedOperationException
Date: 2019-08-11 View: 1214