java.lang.NoSuchMethodError: java.io.File.toPath() Ljava/nio/file/Path;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openas2 by gierg
, 1 year ago
java.io.File.toPath()Ljava/nio/file/Path;
via openas2 by senba
, 1 year ago
java.io.File.toPath() Ljava/nio/file/Path;
java.lang.NoSuchMethodError: java.io.File.toPath() Ljava/nio/file/Path;
at org.openas2.util.AS2Util.cleanupFiles(Unknown Source)
at org.openas2.util.AS2Util.processMDN(Unknown Source)
at org.openas2.processor.sender.AS2SenderModule.handle(Unknown Source)
at org.openas2.processor.DefaultProcessor.handle(Unknown Source)
at org.openas2.processor.receiver.DirectoryPollingModule.processFile(Unknown Source)
at org.openas2.processor.receiver.DirectoryPollingModule.updateTracking(Unknown Source)
at org.openas2.processor.receiver.DirectoryPollingModule.poll(Unknown Source)
at org.openas2.processor.receiver.PollingModule$PollTask.run(Unknown Source)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.