Tags » NetBeans

Installing jar to maven local repository

To install a JAR in the local repository use the following command:

mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>

Example:

mvn install:install-file -Dfile=C:\Users\greenhorn\Documents\NetBeansProjects\greenpark\dist\greenpark.jar -DgroupId=org.greenhorn -DartifactId=greenpark -Dversion=0.1 -Dpackaging=jar …

13 more words
Information Technology

JasperException: Unable to compile class for JSP

The full error log is

An error occurred at line:  in the generated java file: 
The method getDispatcherType() is undefined for the type HttpServletRequest

Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP: 
… 341 more words
Coding

Configure Xdebug on Netbeans 8 for PHP CLI

XDebug integration with Netbeans has always been flaky for me. It works one minute, and not the next time round. In this post, I’ve outlined some simple and robust steps to get XDebug working with… 498 more words

Php