commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ajay singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-344) Exception throwns for IOUtils.closeQuietly
Date Thu, 13 Sep 2012 08:41:08 GMT

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

ajay singh commented on IO-344:
-------------------------------

Hi Joerg,

I am using jbehave 3.6.6 version in linux box. using SUN jdk1.6.32.
I tried to print my runtime classpaths in use.. Here is the result. I can see commons-io-2.4.jar
in the classpath.


/opt/cce/AUTOMATION/eAMS/.m2/repository/org/jbehave/jbehave-core/3.6.6/jbehave-core-3.6.6.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/junit/junit-dep/4.8.2/junit-dep-4.8.2.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/hamcrest/hamcrest-integration/1.1/hamcrest-integration-1.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/com/thoughtworks/paranamer/paranamer/2.4/paranamer-2.4.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar

                
> 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