Azure Pipeline error when building Java Web project with Ant

Lucas Hernandez 1 Reputation point
2021-06-17T14:11:15.16+00:00

Im having this error and I cant get with the solution. Im using netbeans in my local machine and its works perfect, but in azure an error ocurrs, I dont know what is that path or how to add manually.

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

BUILD FAILED /home/vsts/work/1/s/Src/teatro/nbproject/build-impl.xml:257: The Java EE server classpath is not correctly set up - server home directory is missing. Either open the project in the IDE and assign the server or setup the server classpath manually. For example like this: ant -Dj2ee.server.home=<app_server_installation_directory>

Total time: 0 seconds The process '/usr/bin/ant' failed with exit code 1 ##[error]Error: The process '/usr/bin/ant' failed with exit code 1 Finishing: Ant Src/teatro/build.xml

Community Center | Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.