I
I
ipatin2016-06-14 14:34:53
Java
ipatin, 2016-06-14 14:34:53

Why doesn't it support try-with-resources?

It writes this error. Appeared after adding the project as a maven project. The SDK is in version 8.
3988dc1760a34aa1ae45717c011cf76f.png7c99470106824409a15ca34dbd6aa401.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nick Smith, 2016-06-14
@ipatin

0fff1ea7e29f418bb05239572e8315ed.PNG
Here is worth a look.

S
sirs, 2016-06-14
@sirs

Get into the habit of looking for answers to questions that arise in official documentation
Is your Microphone class marked with this interface? Imports are not visible on the screen and it is not clear what kind of class and from which one.

A
Alexander Oparin, 2016-06-14
@losse_narmo

Is there any indication of a lower java version in the pom.xml file?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question