gpt4 book ai didi

java - 您如何运行 SecureSocial 演示?

转载 作者:塔克拉玛干 更新时间:2023-11-01 22:44:12 26 4
gpt4 key购买 nike

我从 https://github.com/jaliss/securesocial/tree/master 下载了 securesocial-master.zip

1.解压后,切换目录

cd C:\Users\ddd\play\securesocial-master

2.运行激活器

C:\Users\ddd\play\securesocial-master\activator run

错误信息:

C:\Users\DDD\workspace\securesocial-master>activator run
[info] Loading project definition from C:\Users\DDD\workspace\securesocial-m
aster\project
[info] Set current project to SecureSocial-parent (in build file:/C:/Users/DDD
/workspace/securesocial-master/)
[info] Updating {file:/C:/Users/DDD/workspace/securesocial-master/}root...
[info] Resolving org.scala-lang#scala-library;2.11.1 ...
[info] Resolving org.scala-lang#scala-compiler;2.11.1 ...
[info] Resolving org.scala-lang#scala-reflect;2.11.1 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.2 ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.1 ..
.
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
java.lang.RuntimeException: No main class detected.
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last root/compile:run for the full output.
[error] (root/compile:run) No main class detected.
[error] Total time: 0 s, completed Jun 1, 2015 10:02:06 AM

最佳答案

根据您输入的信息:

  1. 光盘到

C:\Users\ddd\play\securesocial-master

2.从根目录运行activator

C:\Users\ddd\play\securesocial-master\activator

3.输入command project,按TAB键,可以选择demo:

> project javaDemo

4.运行这个demo

[java-demo] $ run

结果

(Server started, use Ctrl+D to stop and go back to the console...)

附言

使用帮助获取更多详细信息

[java-demo] $ help project

关于java - 您如何运行 SecureSocial 演示?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29110389/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com