Anthill 构建在 OnSite 机器中给出错误
我们在本地构建了我们的应用程序。一切都很顺利,没有出现任何错误。但是在现场机器上使用 Anthill 进行构建会在生成的类文件中出现“找不到符号”之类的错误。我们在本地的另一台机器上下载了整个应用程序,构建再次顺利进行。想知道可能出现什么问题吗?
这些方法已导入到类文件中,因此无法获取这些错误。还从存储库下载具有这些类文件的 jar 文件进行编译。本地和现场的版本相同。
我通过日志文件发现的唯一区别是jdk 1.5.0和1.5.0_17。
We did a build of our app locally. It went smoothly without errors. But the build using anthill on onsite machine is giving errors like "cannot find symbol" in the class file generated. We downloaded the whole app in another machine here locally and the build was again went good. Want to know what may be possible issue?
The methods are already imported in the class files so there is no way of getting these errors. Also the jar file having these class files is downloaded for compiling from the repository.. The versions are same locally and onsite.
The only difference I found through log files is jdk 1.5.0 and 1.5.0_17.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过在 AntHill 构建的机器上手动运行构建?确保您按照 AntHill 运行时的方式进行操作。
Have you tried manually running the build on the machine AntHill is building it on? Make sure you do it as the use AntHill is running as.