commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Aymé (JIRA) <j...@apache.org>
Subject [jira] [Commented] (IO-344) Exception throwns for IOUtils.closeQuietly
Date Wed, 12 Sep 2012 12:59:07 GMT

    [ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453967#comment-13453967
] 

Julien Aymé commented on IO-344:
--------------------------------

Do you have multiple commons-io.jar in your classpath? If not, could you check the version
of commons-io you are using when launching your program?
                
> Exception throwns for  IOUtils.closeQuietly
> -------------------------------------------
>
>                 Key: IO-344
>                 URL: https://issues.apache.org/jira/browse/IO-344
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.4
>            Reporter: ajay singh
>             Fix For: 2.4
>
>
> Hi I am using apache commons tailer utilities as follows
>  TailerListener listener = new VFTailerListerner();
>  tailer = new Tailer(new File(myfile.txt), listener, 1000L,true);
>  Thread thread = new Thread(tailer);
>  thread.setDaemon(true);
>  thread.start();
> But on calling tailer.stop 
> I am getting this error message 
> "Exception in thread "Thread-0" java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V
>         at org.apache.commons.io.input.Tailer.run(Tailer.java:430)
>         at java.lang.Thread.run(Thread.java:662)"
> Thanks
> sirfak
> 	

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message