我在Java servlet类中有一个try-catch语句. Netbeans显示错误:
try-with-resources is not supported in -source 1.6
(use -source 7 or higher to enable try-with-resources)
我怎样才能摆脱这个错误?
最佳答案
原文链接:https://www.f2er.com/java/438036.html我在Java servlet类中有一个try-catch语句. Netbeans显示错误:
try-with-resources is not supported in -source 1.6
(use -source 7 or higher to enable try-with-resources)
我怎样才能摆脱这个错误?