@书一 你好,想跟你请教个问题:
我在这里http://maven.oschina.net/index.html#nexus-search;quick~shiro-freemarker-tags能找到这个jar包,我本地项目编译也能从正常找到这个jar,但是我把项目部署到Git的演示平台上,结果日志显示:
[INFO] Scanning for projects...
INFO]
INFO] ------------------------------------------------------------------------
INFO] Building MySpringPro 1.0.0-BUILD-SNAPSHOT
INFO] ------------------------------------------------------------------------nDownloading: https://repo.maven.apache.org/maven2/com/jagregory/shiro-freemarker-tags/0.1/shiro-freemarker-tags-0.1.pomn
WARNING] The POM for com.jagregory:shiro-freemarker-tags🏺0.1 is missing, no dependency information availablenDownloading: https://repo.maven.apache.org/maven2/com/jagregory/shiro-freemarker-tags/0.1/shiro-freemarker-tags-0.1.jarn
INFO] ------------------------------------------------------------------------
INFO] BUILD FAILURE
INFO] ------------------------------------------------------------------------
INFO] Total time: 8.108 s
INFO] Finished at: 2015-02-10T13:14:16+08:00
INFO] Final Memory: 9M/109M
INFO] ------------------------------------------------------------------------
ERROR] Failed to execute goal on project MySpringPro: Could not resolve dependencies for project com.vigor:MySpringPro:war:1.0.0-BUILD-SNAPSHOT: Could not find artifact com.jagregory:shiro-freemarker-tags🏺0.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
ERROR]
ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
ERROR] Re-run Maven using the -X switch to enable full debug logging.
ERROR]
ERROR] For more information about the errors and possible solutions, please read the following articles:
ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExceptionnNo directory, logging in with HOME=/n
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。