The Type of is erroneous error in netbeans

前端 未结 9 1670
梦如初夏
梦如初夏 2021-01-11 11:26

I have defined two classes for a java program I am writing, call them Class1 and Class2. In the body of the constructor for Class1, I call the constructor for class 2. Howev

9条回答
  •  逝去的感伤
    2021-01-11 12:05

    I had the same issue on netbeans 8.0. The following trick should fix it:

    Right click on the project -> properties -> build -> compiling ==> uncheck "compile on save" then click ok

提交回复
热议问题