Skip to main content

Exception "Expected exactly 1 stage lib jar but found 2" for Enterprise Connectors in SDC 3.8.0.


AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

Issue:

The SDC failing on start with the following exception:

Exception in thread “main” java.lang.ExceptionInInitializerError: 
Expected exactly 1 stage lib jar but found 2 with name streamsets-datacollector-snowflake-lib

 

Versions affected: 

SDC 3.8.0

 

Solution:

Currently, the SDC does not validate if the enterprise connectors are already installed and therefore, if a user does not notice, the user can install the same library more times. If this happens, you just need to remove one of the libraries.

This issue can happen only for Enterprise Connectors:

  • StreamSets DataCollector MemSQL
  • StreamSets DataCollector Snowflake
  • StreamSets DataCollector Teradata

From the next release, the SDC will inform the user if the libraries are already installed.

Did this topic help you find an answer to your question?

Reply