I have my webpp configured to use a relative URL with multiple parameters:

[cid:image001.png@01D9C718.15DC6C50]

However, when I try to run it I get the following error:
No goals have been specified for this build. You must specify a valid lifecycle 
phase or a goal in the format <plugin-prefix>:<goal> or 
<plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available 
lifecycle phases are: pre-clean, clean, post-clean, validate, initialize, 
generate-sources, process-sources, generate-resources, process-resources, 
compile, process-classes, generate-test-sources, process-test-sources, 
generate-test-resources, process-test-resources, test-compile, 
process-test-classes, test, prepare-package, package, pre-integration-test, 
integration-test, post-integration-test, verify, install, deploy, pre-site, 
site, post-site, site-deploy. -> [Help 1]

When I remove the second parameter:
[cid:image002.png@01D9C718.337E0660]

it runs fine.

It looks like it maybe an issue with escaping the ampersand when NB builds the 
command line to run the webapp:

cd E:\nb-error-demo\nb; JAVA_HOME=E:\\jdk\\jdk-17.0.7+7 cmd /c "\"C:\\Program 
Files\\NetBeans-18\\netbeans\\java\\maven\\bin\\mvn.cmd\" 
-Dnetbeans.deploy=true 
-Dnetbeans.deploy.clientUrlPart=test?param1=value1&param2=value2 
-DskipTests=true -Dexec.vmArgs= -Dexec.appArgs= 
\"-Dmaven.ext.class.path=C:\\Program 
Files\\NetBeans-18\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 package"

Is there any workaround for this?

Wyatt

Reply via email to