编译失败:编译失败:找不到符号

时间:2019-06-27 22:04:33

标签: java maven build

我堆满了这个问题,尝试使用Google搜寻没有运气。

运行后出现编译错误
mvn package help:active-profiles

结果错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project myapp: Compilation failure: Compilation failure:
[ERROR] /export/projects/zfk/myapp/src/main/java/com/sti/bss/myapp/service/AuditService.java:[31,28] cannot find symbol
[ERROR]   symbol:   class PrincipalBackOffice
[ERROR]   location: package com.sti.lib.security
[ERROR] /export/projects/zfk/myapp/src/main/java/com/sti/bss/myapp/config/AsyncConfig.java:[16,26] cannot find symbol
[ERROR]   symbol:   class AsyncProperties
[ERROR]   location: package com.sti.lib.config
[ERROR] /export/projects/zfk/myapp/src/main/java/com/sti/bss/myapp/config/AsyncConfig.java:[32,11] cannot find symbol
[ERROR]   symbol:   class AsyncProperties
[ERROR]   location: class com.sti.bss.myapp.config.AsyncConfig
[ERROR] /export/projects/zfk/myapp/src/main/java/com/sti/bss/myapp/web/rest/SupportResource.java:[65,28] cannot find symbol
[ERROR]   symbol:   class PrincipalBackOffice
[ERROR]   location: package com.sti.lib.security
[ERROR] /export/projects/zfk/myapp/src/main/java/com/sti/bss/myapp/config/AsyncConfig.java:[27,32] cannot find symbol
[ERROR]   symbol: class AsyncProperties
[ERROR] -> [Help 1]

任何人以前都遇到过这个问题,非常感谢您的任何评论和反馈

谢谢

0 个答案:

没有答案