2014-07-19 115 views
3

我在嘗試訪問spring-social示例時遇到以下錯誤。請有人指導我。春季社交示例不起作用

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template "signin", template might not exist or might not be accessible by any of the configured Template Resolver 
+0

這裏沒有足夠的信息可以肯定。簡單的答案就是例外本身所說的:缺少signin.html文件。除此之外,我可以給予的任何幫助都要求我知道*您正在嘗試使用哪種Spring Social Sample,無論您是從GitHub克隆它還是自己編寫它,您是否在克隆它之後對它進行了任何調整? –

+0

但是,這個問題對我來說很好(在它的答案中),並且足以讓Roy回答它。 –

回答

5

看起來像運行「gradlew tomcatRunWar」任務而不是記錄的「gradlew tomcatRun」任務允許它工作。

0

您可以將項目導入到eclipse中並從eclipse運行。這將工作