Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 730
Nanor Avatar asked Nov 08 '22 08:11

Nanor


1 Answers

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

like image 91
DagdA Avatar answered Nov 14 '22 23:11

DagdA