【问题标题】:How to debug spring-social-showcase?如何调试 spring-social-showcase?
【发布时间】:2014-05-26 04:02:38
【问题描述】:

我已经下载了 spring-social-showcase 项目。我可以使用mvn tomcat:run 在命令提示符下运行该项目。我可以在 url 中键入 http://localhost:8080/spring-social-showcase 浏览项目。如何调试项目?我也无法在 sts 中运行该项目,因为 sts 没有显示选项 Project > Run as > Run on server。是否可以通过 sts 运行/调试项目?任何帮助将不胜感激。

【问题讨论】:

    标签: spring-mvc sts-springsourcetoolsuite spring-social tcserver


    【解决方案1】:

    将项目作为 maven 项目导入,一般项目除外。然后你就可以运行/调试项目了。

    干杯

    【讨论】:

      【解决方案2】:

      打开 cmd > 到 pom 的路径 > 输入 mvn eclipse:eclipse -Dwtpversion=2.0 > 将项目作为通用项目导入并在服务器上运行。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2016-02-13
        • 2012-06-09
        • 1970-01-01
        • 1970-01-01
        • 2013-04-01
        • 1970-01-01
        • 2014-04-04
        相关资源
        最近更新 更多