Java applications throws java.lang.NoSuchMethodError: java.io.File.toPath()Ljava/nio/file/Path after upgrading RHEL
Issue
ERR |22576|09|Thread.dispatchUncaughtException, ThreadGroup.uncaughtException, uncaughtException, Throwable.printStackTrace, PrintStream.println, newLine, OutputStreamWriter.flushBuffer, StreamEncoder.flushBuffer, implFlushBuffer, writeBytes, PrintStream.write, OutputStream.write, Thread.getStackTrace| Exception in thread "Thread-1" java.lang.NoSuchMethodError: java.io.File.toPath()Ljava/nio/file/Path;
Environment
Red Hat Enterprise Linux (RHEL) 6.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
