【问题标题】:Spring-social example is not workingSpring-social 示例不起作用
【发布时间】:2014-07-19 12:03:54
【问题描述】:

我在尝试访问 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

【问题讨论】:

  • 这里没有足够的信息来确定。简单的答案就是异常本身所说的:缺少 signin.html 文件。除此之外,我可以提供的任何帮助都需要我知道您正在尝试 哪个 Spring Social Sample,无论您是从 GitHub 克隆它还是自己编写代码,克隆后是否对其进行了任何调整,等等等?
  • 然而,这个问题足以让我在这里找到它(以及它的答案!),并且足以让 Roy 回答它。

标签: spring-security spring-social


【解决方案1】:

看起来运行“gradlew tomcatRunWar”任务而不是记录的“gradlew tomcatRun”任务允许它工作。

【讨论】:

    【解决方案2】:

    您可以将项目导入 Eclipse 并从 Eclipse 运行。这会起作用的

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-18
      • 2018-11-14
      • 1970-01-01
      • 1970-01-01
      • 2020-03-30
      • 2018-06-07
      相关资源
      最近更新 更多