java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V


Solutions on the web

Solution icon of github
via GitHub by nygrenh
, 8 months ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Solution icon of stackoverflow
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Solution icon of github
via GitHub by cypai
, 1 year ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Solution icon of github
via GitHub by aravindk47
, 1 year ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Solution icon of github
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Solution icon of googlegroups
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Solution icon of github
via GitHub by andChow
, 9 months ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V ```

Stack trace

java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V
	at com.puppycrawl.tools.checkstyle.PackageNamesLoader.getPackageNames(PackageNamesLoader.java:156)
	at com.puppycrawl.tools.checkstyle.Checker.finishLocalSetup(Checker.java:150)
	at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:134)
	at fi.helsinki.cs.tmc.stylerunner.CheckstyleRunner.<init>(CheckstyleRunner.java:56)
	at fi.helsinki.cs.tmc.stylerunner.CheckstyleRunner.<init>(CheckstyleRunner.java:35)
	at fi.helsinki.cs.tmc.langs.java.AbstractJavaPlugin.checkCodeStyle(AbstractJavaPlugin.java:77)
	at fi.helsinki.cs.tmc.langs.util.TaskExecutorImpl.runCheckCodeStyle(TaskExecutorImpl.java:32)
	at fi.helsinki.cs.tmc.core.commands.RunCheckStyle.call(RunCheckStyle.java:41)
	at fi.helsinki.cs.tmc.core.commands.RunCheckStyle.call(RunCheckStyle.java:19)
	at fi.helsinki.cs.tmc.utilities.BgTask.call(BgTask.java:133)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)[catch]
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.