Khmer unicode character string is different from other unicode character, we can’t write it on VBA editor of Excel or MS Access.
Tag: Tips
Performance is very important to save resource for visitors using our website. If you deploy your Java Web Application on Apache Tomcat and you feel it’s a bit slow, please check it out my experience on solving issue of gzip compression by changing configuration of Apache Tomcat. Result: Before/After Correction Solutions Edit file: apache-tomcat-xx\conf\server.xml change…
During Maven build with maven 3.x version, I got following error: [WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 299, column 16
Log4j is a logging mechanism that is in Apache foundation project. Log4j is for Java project. Here, to add logging feature to your Java project, you can use one as following ways: Manually Visit http://logging.apache.org/log4j/ Download the Log4j jar library Manually include it into your project dependency All manage by yourself, you need to do…
You might see some messy jar in view of your eclipse project in Project Explorer and you want to remove it from this view. Here is a short instruction for that. Instructions On Eclipse Project Explorer, your left top menu of the explorer, click on Filter On the “Java Element Filters”, find “Libraries from external”…
Install Maven 2 build tool on Windows
If you just start to develop some application, you need some built tools to help to package, compile or make your development structure look right. Maven is a right tool for that. It’s simple and easy to use, it works with many of programming languages, especially with Java. Here is simple steps to install maven…
To create jar packaging of Java project with maven 2 based, we used a plugin called: maven-jar with simply paste the code below in pom.xml of plugins section: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> And if you want to add in your jar’s MANIFEST info, you can directly modify…
Some case, you need to generate source code from your project which is maven 2 based. Please have a look to maven-source plugin by adding a short code below into your pom.xml <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> By default it will generate jar named as: ${project.artifactId}-${project.version}-source.jar