-
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: 1235
-
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: 1625
-
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: 1345
-
log4j.xml Example
Here’s an XML version of log4j properties file, just for sharing.
Date: 2019-08-17 View: 1208
-
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: 1207
-
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: 1271
-
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: 1315
-
servlet-api-2.5.jar jar not loaded
Deployed a “war” file on Tomcat, and hits following error messages :
Date: 2019-08-17 View: 1210
-
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: 1335
-
mongoimport unable to import $numberLong
A collection with NumberLong type data as follows :
Date: 2019-08-17 View: 1214
-
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: 1202
-
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: 1687
-
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: 1087
-
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: 1191
-
How to change Tomcat to use JDK 7
The current environment is using Tomcat 7 + JDK 6. How to configure Tomcat to use JDK 7?
Date: 2019-08-17 View: 1054