From: <rb...@rb...> - 2019-06-05 16:29:51
|
Am 5. Juni 2019 15:16:15 MESZ schrieb Vasudevan Comandur <vco...@gm...>: >Hi, > > I was migrating my web application from HTMLUnit 2.23 to 2.33. > The project was built and while executing getContentAsString method on > WebResponse, I am getting the Error mentioned in the subject line. > > Below is the error copied from the console > > Caused by NoSuchMethodError: >org.apache.commons.io.IOUtils.toString(Ljava/io/InputStream;Ljava/nio/charset/Cha >rset;)Ljava/lang/String; >->> 244 | getContentAsString in >com.gargoylesoftware.htmlunit.WebResponse > >Am I doing something wrong?. All the dependent libraries are there in >the >project. > > I appreciate your help in advance. > >Regards > Vasu Looks like a wrong version or duplicate commons io jar in the classpath |