shiro-freemarker-tags jar包在Git的演示平台找不到导致项目报错

熊先生 发布于 2015/02/10 15:51
阅读 1K+
收藏 0

@书一 你好,想跟你请教个问题:

我在这里http://maven.oschina.net/index.html#nexus-search;quick~shiro-freemarker-tags能找到这个jar包,我本地项目编译也能从正常找到这个jar,但是我把项目部署到Git的演示平台上,结果日志显示:

  1. [INFO] Scanning for projects...

  2. INFO] 

  3. INFO] ------------------------------------------------------------------------

  4. INFO] Building MySpringPro 1.0.0-BUILD-SNAPSHOT

  5. INFO] ------------------------------------------------------------------------nDownloading: https://repo.maven.apache.org/maven2/com/jagregory/shiro-freemarker-tags/0.1/shiro-freemarker-tags-0.1.pomn

  6. 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

  7. INFO] ------------------------------------------------------------------------

  8. INFO] BUILD FAILURE

  9. INFO] ------------------------------------------------------------------------

  10. INFO] Total time: 8.108 s

  11. INFO] Finished at: 2015-02-10T13:14:16+08:00

  12. INFO] Final Memory: 9M/109M

  13. INFO] ------------------------------------------------------------------------

  14. 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]

  15. ERROR] 

  16. ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

  17. ERROR] Re-run Maven using the -X switch to enable full debug logging.

  18. ERROR] 

  19. ERROR] For more information about the errors and possible solutions, please read the following articles:

  20. ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExceptionnNo directory, logging in with HOME=/n

不知道怎么解决才好,求大神指教

加载中
0
盲人摸象
盲人摸象
 我在googlecode上添加了仓库,但是因为google被墙了。你可以把这个源码下下来,然后再把项目传到本地私有仓库或者是将项目install到本地  这个就随你了。
山的那边是海
回复 @熊先生 : 你的 问题解决了吗 我的springboot 引入shiro-freemarker-tags.jar 添加:@Configuration public class ShiroTagFreeMarkerConfigurer 。。不管访问啥 都是404
山的那边是海
你的 问题解决了吗 我的springboot 引入shiro-freemarker-tags.jar 添加:@Configuration public class ShiroTagFreeMarkerConfigurer extends FreeMarkerConfigurer { ... 就成了404,
熊先生
熊先生
我放在Git的演示平台,部署项目首先需要编译,当然它会根据我的pom.xml去远程仓库找jar然后编译,结果就提示找不到此jar包,我最后在maven源仓库找到了,编译已经没问题,但是问题又来了,看日志貌似就只是tomcat跑起来了,访问域名就只是一个tomcat的首页而已,点击任何其他链接都是404,瞬间无语了,请问各位大神有没有遇到过?
0
JacarriChan
JacarriChan

https://github.com/jagregory/shiro-freemarker-tags


install到本地repository

返回顶部
顶部