按照视频配置后maven install无法解析ocCommon和ocService包
来源:1-3 (补充)项目源码导入,配置,运行,入坑,出坑-1

徐徐生长
2019-05-15
错误详情
[WARNING] The POM for com.online.college:ocCommon:jar:1.0.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.online.college:ocService:jar:1.0.0-SNAPSHOT is missing, no dependency information available
Failed to execute goal on project ocPortal:
Could not resolve dependencies for project com.online.college:ocPortal:war:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.online.college:ocCommon:jar:1.0.0-SNAPSHOT, com.online.college:ocService:jar:1.0.0-SNAPSHOT:
Could not find artifact com.online.college:ocCommon:jar:1.0.0-SNAPSHOT -> [Help 1]
和老师教程中不一样的地方就是在ocCommon和ocService 设置Deployment Assembly 中java Build Path entries 没有Maven Dependencies ,是不是这个原因引起的呢?
1回答
-
祁聪
2019-05-20
ocCommon和 ocService本来就是没有的
warning 不影响运行
00
相似问题