java - 使用 Ant 构建 Java Web 项目时出现 Azure Pipeline 错误
问题描述
我有这个错误,我无法得到解决方案。我在我的本地机器上使用 netbeans,它的工作很完美,但是在天蓝色的错误发生中,我不知道那条路径是什么或如何手动添加。
-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
解决方案
推荐阅读
- pandas - 将样式应用于多索引和多级熊猫数据框
- flutter - 为什么flutter中的LicenseRegistry会返回一个Stream
而不是列表 ? - javascript - 在样式组件中为 CSS 属性使用自定义函数?
- r - 如何解决 pmap_dbl 中的 Nan 错误问题,平均在 r
- c++ - 在C++中实现一维gsl集成,参数作为集成边界
- php - 我对 AJAX 数据变量有疑问。收到错误 500
- c# - SqlException:无法打开登录请求的数据库 X。登录失败。用户 Y 登录失败
- c# - C# 服务总线队列触发器永远不会被触发
- javascript - 何时调用 clearInterval - 当计时器更改或当与 setInterval 关联的渲染器被卸载时
- python - 如何从不是 matplotlib 的图表中制作子图?