error:
[mkdir] Created dir: /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/WebContent/WEB-INF/build/classes/shop
[javac] Compiling 801 source files to /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/WebContent/WEB-INF/build/classes/shop
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/api/OrderBackApiAction.java:312: error: cannot find symbol
[javac] String orderTime = DateUtil.getNowTime();
[javac] ^
[javac] symbol: method getNowTime()
[javac] location: class DateUtil
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/api/OrderBackApiAction.java:330: error: cannot find symbol
[javac] String open_id = member.getOpen_id();
[javac] ^
[javac] symbol: method getOpen_id()
[javac] location: variable member of type Member
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/api/OrderBackApiAction.java:340: error: cannot find symbol
[javac] String orderTime = DateUtil.getNowTime();
[javac] ^
[javac] symbol: method getNowTime()
[javac] location: class DateUtil
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/backend/MemberAction.java:367: error: cannot find symbol
[javac] oldMember.setIs_repairer(member.getIs_repairer());
[javac] ^
[javac] symbol: method getIs_repairer()
[javac] location: variable member of type Member
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/backend/MemberAction.java:368: error: cannot find symbol
[javac] oldMember.setAtt_time(member.getAtt_time());
[javac] ^
[javac] symbol: method getAtt_time()
[javac] location: variable member of type Member
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/backend/MemberAction.java:369: error: cannot find symbol
[javac] oldMember.setUnion_id(member.getUnion_id());
[javac] ^
[javac] symbol: method getUnion_id()
[javac] location: variable member of type Member
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/backend/MemberAction.java:370: error: cannot find symbol
[javac] oldMember.setOpen_id(member.getOpen_id());
[javac] ^
[javac] symbol: method getOpen_id()
[javac] location: variable member of type Member
[javac] /root/.jenkins/jobs/eauto100-dev-auto/workspace/javamall/shop/com/enation/app/shop/core/action/backend/MemberAction.java:371: error: cannot find symbol
[javac] oldMember.setInvite_pwd(member.getInvite_pwd());
[javac] ^
[javac] symbol: method getInvite_pwd()
[javac] location: variable member of type Member
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 8 errors
加法:
thoese方法存在,而且这个项目是普通的java项目而不是maven
答案 0 :(得分:0)
最后,我删除了jenkins项目,以及原始配置的新项目。有用。我的天啊!它一定是詹金斯的错误。
答案 1 :(得分:0)
对我来说,当我复制jenkins项目并且没有在ant(advance)下正确初始化值时,问题出现了,你应该正确填充BuildFile名称及其属性。