Maven Jetty plugin daemon element not allowed here

后端 未结 2 1741
执念已碎
执念已碎 2021-01-18 11:33

I am trying to configure a project\'s pom.xml file. I want it to start Jetty server in testing phase. In order to do it I should add \"daemon\" element to Jetty plugin as I

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-18 11:46

    It's actually a IntelliJ Idea's bug. It sometimes doesn't recognize some of configuration properties correctly. The plugin does have this property, so you don't really have other option than to just ignore the error in IDE. The plugin will work as expected.

提交回复
热议问题