springmvc项目,本地运行没问题,在osc上项目演示就不行,看了日志编译报错如下:
NFO] --- maven-resources-plugin:2.6:resources (default-resources) @ zpxmaven ---
WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
INFO] Copying 3 resources
INFO]
INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ zpxmaven ---
INFO] Changes detected - recompiling the module!
WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
INFO] Compiling 17 source files to /var/vcap/store/fss_backend1/0a97950a-a3dd-4c4b-aa17-e008dd45bab0/9b056079-65cb-4a23-bacb-4d8f5ffd7ff3/haoduolang/management-system/zpxmaven/target/classes
INFO] -------------------------------------------------------------
ERROR] COMPILATION ERROR :
INFO] -------------------------------------------------------------
ERROR] /var/vcap/store/fss_backend1/0a97950a-a3dd-4c4b-aa17-e008dd45bab0/9b056079-65cb-4a23-bacb-4d8f5ffd7ff3/haoduolang/management-system/zpxmaven/src/main/java/zpx/model/ComAttachment.java:[13,47] cannot find symbolnsymbol : class Statusnlocation: package com.sun.org.apache.xerces.internal.util
ERROR] /var/vcap/store/fss_backend1/0a97950a-a3dd-4c4b-aa17-e008dd45bab0/9b056079-65cb-4a23-bacb-4d8f5ffd7ff3/haoduolang/management-system/zpxmaven/src/main/java/zpx/model/FtpAttachment.java:[13,47] cannot find symbolnsymbol : class Statusnlocation: package com.sun.org.apache.xerces.internal.util
INFO] 2 errors
source和target指定为你项目用的jdk版本
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。