我在Java servlet类中有一个try-catch语句. Netbeans显示错误:
try-with-resources is not supported in -source 1.6
@H_403_9@
(use -source 7 or higher to enable try-with-resources)我怎样才能摆脱这个错误?
最佳答案
我在Java servlet类中有一个try-catch语句. Netbeans显示错误:
try-with-resources is not supported in -source 1.6
@H_403_9@
(use -source 7 or higher to enable try-with-resources)我怎样才能摆脱这个错误?