我创建了一个 dropwizard 服务。当我使用以下命令运行它时,它只会挂起。下面的命令有什么问题吗?
java -jar helloworld-1.0.jar server helloworld.yml
上面之前的工作正常。从最近几天开始,它就停止了工作。
我创建了一个 dropwizard 服务。当我使用以下命令运行它时,它只会挂起。下面的命令有什么问题吗?
java -jar helloworld-1.0.jar server helloworld.yml
上面之前的工作正常。从最近几天开始,它就停止了工作。
The weird thing is that when I do "java -jar helloworld-1.0.jar se" it starts the service. What the heck is this "SE" - It is blowing my mind.
se
appears to be shorthand for server
. You can use s
, se
, ser
, and so on. servers
doesn't work, nor does sauron
.
If java -jar helloworld-1.0.jar server
starts the service, but java -jar helloworld-1.0.jar server helloworld.yml
does not, then I would have a look at your configuration file, helloworld.yml
.