Project created via the archtype and got error could not built mvn archetype:generate -DgroupId=com.dmsys.frmk -DartifactId=frmk -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false Java Maven Project, pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.dmsys.frmk</groupId> <artifactId>frmk</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>frmk</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>2.5.0</version> <type>pom</type> </dependency> </dependencies> </project> Error Message: No compiler is provided in…
Category: Programming
Vaadin built and received an error as error log: [INFO] Using com.vaadin:vaadin-client-compiler version 7.2.7 [INFO] Error occurred during initialization of VM [INFO] Could not reserve enough space for object heap [ERROR] Error: Could not create the Java Virtual Machine. [ERROR] Error: A fatal exception has occurred. Program will exit. [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:7.2.7:update-widgetset…
You might sometimes want or face issue that your drupal always redirect to secure connection (https://) protocol. You might want to disable it, especially in local development environment. Note: It’s always a good idea to have the secure connection in production server if it’s available, but normally it costs you extra on that feature on…
qTranslate, WordPress plugin just stopped getting update and mqTranslate is came to replace the original one but both settings are the same. This one image page could explain you, how to configure our Khmer language to have a multilingual contents in your WordPress website in few minutes. Here is the full list of configuration for…
If you are using WordPress for multi-lingle content, for sure, you will know qTranslate or WPML plugin which allow you to manage your content in different language. Among two of them, qTranslate is completely free and WPML is a paid plugin. But since 26th January 2014, qTranslate has no update, it seems the author of…
Monitor Java Application with JConsole
You might need to monitor your java application in order to examine the memory or CPU usage. JConsole is free and available in your JDK from version JDK 5 up. About JConsole Jconsole is a JMX-compliant monitoring tool. It uses the extensive JMX instrumentation of the Java virtual machine to provide information on performance and…
Let’s me start from a scenario of a Java (Hibernate, Spring App)/tomcat application that would give you as myself, the error as stated in the subject above. To reproduce In some cases, as you do as following steps: Build with clean install Start Tomcat as normal Stop Tomcat And Start Tomcat again You got an…
There is an issue with MenuItem control in ASP.net with Safari/Chrome, the menu is unable to click but it’s working fine with Firefox and IE when we want to use image icon for the menu. Example: <asp:menuitem navigateurl="Home.aspx" text="Home" imageurl="Images\Home.gif" tooltip="Home"/> In Firefox, the MenuItem generated the full HTML fine as following: <span title="Home">…
Listing posts by category in WordPress theme development is also interesting, people could manage different way, any way, here are ones that you might interesting to try. Simple If you want to display posts from a single category in your WordPress theme, you should add the following line below the Loop: <?php query_posts( 'cat=23' );…
I posted some posts about drupal since I started to implement things with drupal. Issue with “Maximum execution time“ Issue with “MySQL server has gone away“ And still with memory “The InnoDB memory heap“ Here is my own recommendation for Drupal or some heavy PHP/MySQL application. php.ini max_execution_time=5000 memory_limit=1024M my.ini [mysqld] max_allowed_packet = 128m sort_buffer_size…