Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1.

1.找到eclipse目录:

Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1._第1张图片

查看目录下是否有lifecycle-mapping-metadata.xml文件,若没有新建,内容如下:



 
   
     
        org.codehaus.mojo
        buildnumber-maven-plugin
       
          create-timestamp
       

        [0.0,)
     

     
       
     

   

   
     
        org.apache.maven.plugins
        maven-dependency-plugin
       
          list
       

        [0.0,)
     

     
       
     

   

   
     
        org.zeroturnaround
        jrebel-maven-plugin
       
          generate
       

        [0.0,)
     

     
       
     

   

   
     
        org.codehaus.mojo
        gwt-maven-plugin
       
          compile
       

        [0.0,)
     

     
       
     

   

   
     
        org.apache.maven.plugins
        maven-dependency-plugin
       
          copy-dependencies
          unpack
       

        [0.0,)
     

     
       
     

   

 

2.再次打开window>Preferences>maven> Lifecycle Mappings

Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1._第2张图片

点击Reload 红框中按钮,再点击apply即可

3.maven update 之后,报错就解决了

你可能感兴趣的:(Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1.)