Introduction You may need to add a custom JAR as a dependency to your Maven project. This tutorial shows 3 ways to do it: Install manually the JAR into your local Maven repository Adding...
Monthly Archive: June 2016
Ajax in Liferay Portlet using JQuery and AlloyUI
Sometimes you need to send or retreive data and update a small portion of portlet without a page refresh. Ajax is the solution to perform that and this tutorial will show how to use...
3 ways to solve the Maven error : No compiler is provided in this environment.
Problem You may face the below Maven error while running a Maven buildĀ : No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Solution Your JAVA_HOME...
3 ways to solve Fatal error compiling: invalid target release in Maven build
Problem You may encounter the following error when running a Maven build: Fatal error compiling: invalid target release: <JDK_VERSION> Solution Below three ways to solve the problem: Adding the environment variable JAVA_HOME Using Maven...