简体   繁体   中英

IntelliJ Maven Project not building

I have a Eclipse background and have recently moved to a new job and am using IntelliJ.

I have an existing Maven Project, and in IntelliJ it does not build. ie we run mvn commands to build and have a Payara serer to run it. I am trying to get 'HotSwap' working. In order to do so< I need to get IntellliJ to build the Maven Project (multi-modules).

I have looked online and tried the following:

I added new modules: 在此处输入图片说明

But when I edit a java file, there is nothing being compiled, ie I don't see compilation errors:

在此处输入图片说明

Any ideas of how I can get IntelliJ to build the project?

Thanks

在此处输入图片说明

You have to create a new Glashfish Server and then reference Payara. On 'UPDATE' action you have to select Hot Swap classes.

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