-
Maven + Emma code coverage example
Emma is a free Java code coverage tool. In this tutorial, we will show you how to use Maven to generate the Emma code coverage report for your project, and also how to integrate the Emma report into the Maven project site.
Date: 2019-08-17 View: 2682
-
MongoDB Aggregate and Group example
In this tutorial, we will show you how to use MongoDB aggregate function to group documents (data).
Date: 2019-08-17 View: 2022
-
java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.spi.JtaPlatform
Spring 3.2.x + Hibernate 4.3.x integration, hits JtaPlatform ClassNotFoundException, search the project classpath, find out that JtaPlatform is at different package?
Date: 2019-08-17 View: 2451
-
Spring Security + Hibernate XML Example
In this tutorial, we will show you how to integrate Hibernate 4 in Spring Security, XML configuration example.
Date: 2019-08-17 View: 2243
-
log4j.xml Example
Here’s an XML version of log4j properties file, just for sharing.
Date: 2019-08-17 View: 1984
-
Debian : Change default Java version
Deployed a Debian 7.5 on Linode server, the default is using OpenJDK 1.6. How to upgrade to OpenJDK 1.7?
Date: 2019-08-17 View: 1990
-
Download file from server using SSH
Normally, you use Secure copy or SCP to download a file from another server via SSH connection. For example,
Date: 2019-08-17 View: 2120
-
Log4j hello world example
In this tutorial, we will show you how to use the classic log4j 1.2.x to log a debug or error message in a Java application.
Date: 2019-08-17 View: 2035
-
servlet-api-2.5.jar jar not loaded
Deployed a “war” file on Tomcat, and hits following error messages :
Date: 2019-08-17 View: 2036
-
Java : Unsupported major.minor version 51.0
Run a “jar” on Debian 7.5, and hits the following error messages :
Date: 2019-08-17 View: 2054
-
mongoimport unable to import $numberLong
A collection with NumberLong type data as follows :
Date: 2019-08-17 View: 1871
-
Linux : How to gzip a folder
On Linux, gzip is unable to compress a folder, it used to compress a single file only. To compress a folder, you should use tar + gzip, which is tar -z.
Date: 2019-08-17 View: 1989
-
Ubuntu : Status 14: The disk contains an unclean file system
Dual boot Windows and Ubuntu, but Ubuntu is unable to access the Windows partition /dev/sdb3, shows the following error message :
Date: 2019-08-17 View: 2570
-
MongoDB : write Aggregation result into a new collection
This article shows you 2 ways to export a MongoDB “aggregation” result into another new collection.
Date: 2019-08-17 View: 1786
-
Find out Tomcat is using which JDK or JAVA_HOME
In this article, we will show you how to find out which JRE / JDK or JAVA_HOME is used by the Tomcat container.
Date: 2019-08-17 View: 2025


