Question

java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

  • 4 August 2022
  • 4 replies
  • 65 views

My JDBC producer stage is giving the error 

java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

 

Has anyone had a similar issue before?


4 replies

Userlevel 2
Badge

Hi @andalv Looks like there is some issue with the jars.
Could you please let us know which database you are looking to connect from JDBC producer?
Did you installed any additional jars into the JDBC producer?

Thanks for responding. I am looking to connect to Oracle Autonomous Data warehouse (ADW). No, I haven’t installed any additional jars into the JDBC producer.

Hi @Ranjith P - Do you have any additional information on this? I get this error irrespective of the database i try to read from.

Userlevel 3
Badge

@andalv 

I have seen this before. 

Try uninstalling JDBC stage library, restart your SDC and re-install JDBC library and restart. Validate that your JDBC driver for your database is installed correctly for JDBC Stage library.

Reply