简体   繁体   中英

How do I run an imported Spring project in IntelliJ

I've imported a Spring project from Eclipse which runs perfectly. When I go to the run/debug configurations and it asks me to choose the main class I don't know which to choose as there is a lot.

With Eclipse I just right clicked the project and selected Run on server, selected WildFly 10 and it ran on localhost:8080 but it seems a little more complicated here. How do I run this project?

Try selecting JBoss. JBoss was renamed to WildFly. Not sure why it's still JBoss in IntelliJ. You can add a server using Run > Edit Configurations > + . Just choose JBoss in the list.

https://www.jetbrains.com/help/idea/2016.2/working-with-server-run-debug-configurations.html

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