Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JackRenDeveloper/elvis.vhr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

elvis.vhr

2019年8月6日日 main方法可以启动,放到tomcat下不能运行,没有报错,很奇怪,请教同学, 告知: 在tomcat里启动是需要配置一下的,需要实现SpringBootServletInitializer

public class HrserverApplication extends SpringBootServletInitializer {

@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
	return application.sources(HrserverApplication.class);
}
public static void main(String[] args) {
	SpringApplication.run(HrserverApplication.class, args);
}

}

记录一下!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /