disable/enable compilation errors in Netbeans

后端 未结 2 1318
不知归路
不知归路 2021-01-25 04:35

I\'ve made the terrible mistake of telling Netbeans always to ignore compilation errors when running my Maven application.

Now that I want to revoke this, I can\'t se

相关标签:
2条回答
  • 2021-01-25 05:09

    Don't bother - found it after making a directory diff :

    Stop Netbeans, remove the file underneath and start Netbeans again.

    .netbeans/7.0/config/Preferences/org/netbeans/modules/java/source/BuildArtifactMapperImpl.properties

    Simple, no ? :-)

    0 讨论(0)
  • 2021-01-25 05:16

    For NetBeans 8.0.2 (in my case):

    C:\Users\username\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\netbeans\modules\java\source\BuildArtifactMapperImpl.properties

    file contains: askBeforeRunWithErrors=false

    Set to true or file can be deleted, to reset.

    0 讨论(0)
提交回复
热议问题