Mike,

Not a direct answer to your question, but as part of resolving
TAP5-2295 recently I did change Tapestry-upload's commons-io
dependency from 2.0.1 to 2.2. That change has not yet made it into any
regular or beta release yet, though.

On Mon, Mar 24, 2014 at 2:46 PM, Michael Gentry <mgen...@masslight.net> wrote:
> Hi everyone,
>
> I was trying to add a file upload component to a page.  After adding the
> tapestry-upload dependency to my POM, I kept getting exceptions trying to
> convert CoffeeScript Files to JavaScript files:
>
> [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed
> with uncaught exception: java.lang.NoSuchMethodError:
> org.apache.commons.io.IOUtils.toString(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String;
>
> java.lang.NoSuchMethodError:
> org.apache.commons.io.IOUtils.toString(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String;
>
>
> After doing a little exploring, I found the commons-io dependency in
> tapestry-upload:
>
>     <dependency>
>       <groupId>commons-io</groupId>
>       <artifactId>commons-io</artifactId>
>       <version>2.0.1</version>
>       <scope>compile</scope>
>     </dependency>
>
> I then overrode tapestry-upload's commons-io with version 2.4 and the
> exception went away and CoffeeScript to JavaScript conversion started
> working again.
>
> Has anyone else used tapestry-upload in 5.4?  Did you encounter issues with
> this JAR and/or have to update the version?
>
> Thanks,
>
> mrg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to