Technology Blog
the technology I am interested in and work with
Friday, June 29, 2012
mvn test: LocalJobRunner.java with java.lang.OutOfMemoryError
›
When I run mvn test to unit test some hadoop related program, I got the following: java.lang.OutOfMemoryError: Java heap space at org....
Thursday, June 28, 2012
maven shade plugin: Invalid signature file digest for Manifest main attributes
›
If you get the following error message with maven shade plugin: Exception in thread "main" java.lang.SecurityException: Invalid ...
17 comments:
Sunday, June 24, 2012
Eclipse: fix plugin execution not covered by lifecycle configuration
›
I recently used maven-jaxb2-plugin to generate java classes based on xml schemas (xsd). I can run "mvn compile" on command line t...
Friday, June 8, 2012
Enable CORS support in REST services with Spring 3.1
›
We are working on a web project, which has 2 components, UI and web services. These 2 components are deployed to 2 different servers. UI u...
12 comments:
Wednesday, May 30, 2012
log4j filter some text and don't log it
›
Use org.apache.log4j.varia.StringMatchFilter to filter the text not to display. Here is the example for log4j.xml: <?xml version=...
1 comment:
Wednesday, May 23, 2012
mac: no acceptable C compiler found in $PATH
›
If you get the following error on mac: configure: error: no acceptable C compiler found in $PATH Here is the step to fix it: 1. download ...
Saturday, May 19, 2012
Enable Spring Jdbc Transaction with Annotation
›
Spring 3.1 introduced a new annotation @EnableTransactionManagement . With it, all xml configuration can be got rid of now. Here is the ex...
‹
›
Home
View web version