Java Development
-
java.lang.NullPointerException Example – How to handle Java Null Pointer Exception (with video)
In this post, we feature a comprehensive example of java.lang.NullPointerException – Java Null Pointer Exception. In Java, a special null value can…
Read More » -
JUnit Exceptions Test Example
In this example we are going to see how to use @Test annotation along with its optional parameter expected in…
Read More » -
Troubleshooting: Maven – Tomcat deploys project web.xml to wrong folder in Eclipse
In this tutorial we will show you how to specify the correct deployment folder of the web.xml file of a…
Read More » -
JUnit Time Test Example
In this example we are going to see how to use @Test annotation along with its optional parameter timeout in…
Read More » -
Troubleshooting: Maven – Strings in switch are not supported in source 1.5
In this tutorial we will show you how to deal with issues concerning the JDK version of a Maven based…
Read More » -
Troubleshooting: Maven Dependency libraries not deployed in Eclipse IDE
A Java Web project may contain build dependencies to external libraries, specified inside the pom.xml file. In this tutorial, we…
Read More » -
Generate source code jar for Maven based project example
In this tutorial we will show you how to generate an output jar file, containing the source code of a…
Read More » -
How to create an Ant build file from Maven example
In this tutorial we will show you how to create an Ant build file, called build.xml, using Apache Maven. Ant…
Read More » -
How to skip Maven unit test example
In this tutorial we will show you how to avoid running the unit tests of a Maven based Java project.…
Read More » -
How to display Maven plugin goals and parameters example
In this tutorial we will show you how to display all available goals and parameters of a specific Apache Maven…
Read More »