[英]Gitlab-CI, Maven and Java 10: build always fail - cannot find symbol
You can check the full project here: https://gitlab.com/tyvain/parcoursup 您可以在此处查看完整的项目: https : //gitlab.com/tyvain/parcoursup
Build history here: https://gitlab.com/tyvain/parcoursup/pipelines 在此处构建历史记录: https : //gitlab.com/tyvain/parcoursup/pipelines
Since a week gitlab-ci doesn't build anymore. 一周以来gitlab-ci不再构建。 It doesn't look like a code problem, but more a 'path' problem:
它看起来不像是代码问题,而更多是“路径”问题:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project importparcoursup: Compilation failure: Compilation failure:
[ERROR] /builds/tyvain/parcoursup/src/main/java/nc/unc/importparcoursup/view/AdmisMainView.java:[9,55] cannot find symbol
[ERROR] symbol: class AdmisRejetRepository
[ERROR] location: package nc.unc.importparcoursup.dao.admisDAO.repository
[ERROR] /builds/tyvain/parcoursup/src/main/java/nc/unc/importparcoursup/view/components/InformationComponent.java:[7,55] cannot find symbol
[ERROR] symbol: class AdmisRejetRepository
[ERROR] location: package nc.unc.importparcoursup.dao.admisDAO.repository
[ERROR] /builds/tyvain/parcoursup/src/main/java/nc/unc/importparcoursup/view/AdmisMainView.java:[30,37] cannot find symbol
[ERROR] symbol: class AdmisRejetRepository
[...]
The build works locally (on windows). 构建在本地(在Windows上)工作。
I tried to upgrade the docker image and tried to look in history what could be wrong. 我尝试升级docker映像,并尝试查看历史记录可能有什么问题。 But so far I have no idea why it fails.
但是到目前为止,我还不知道为什么它会失败。
The problems started with commit and the corrisponding build failed 问题从提交开始,相应的构建失败
When i check your files at https://gitlab.com/tyvain/parcoursup/find_file/master there is no PreCandidature
or AdmisRejetRepository
当我在https://gitlab.com/tyvain/parcoursup/find_file/master检查您的文件时,没有
PreCandidature
或AdmisRejetRepository
Maybe you just forgot to add the files to git? 也许您只是忘了将文件添加到git中? Maybe they are ignored?
也许他们被忽略了?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.