简体   繁体   中英

Java Spring and Google App Engine

I'm trying to create a simple web app using Java Spring and deploy it to Google App Engine, but I can't find a clear guide for setting up the project. I'm using Eclipse with the Goole plugin ("New web application project..."). I created all the controllers and I have a configuration file like this:

@Configuration
@EnableWebMvc
@ComponentScan
@EnableAutoConfiguration

public class Application {
    public static void main(String[] args){
        SpringApplication.run(Application.class, args);
    }

}

I don't want a web.xml file. How can I create the project?

您可以查看“ Google App Engine for Java-Spring Basic设置 ”,了解如何创建Java Spring项目以及如何正确设置Spring配置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM