generics are not supported in -source 1.3

后端 未结 7 1217
太阳男子
太阳男子 2020-12-19 22:01

I have a problem while maven packaging. In this code:

public class LoginDialog extends Dialog {

    private final TextField customer;
                 


        
7条回答
  •  再見小時候
    2020-12-19 22:31

    You either need to change your settings so that you're source is set to 1.5+ or remove the generics from your code:

    private final TextField customer;
    

提交回复
热议问题