Skip to main content

Docusign Integration with java spring boot

  • 13 June 2024
  • 1 reply
  • 71 views

Hello Everyone,

we are integrating DocuSign integration with spring boot project and we are getting multiple error like noClassFoundException and all but we are using DocuSign maven dependency. i am attaching my pom.xml please check once and please provide us a solution and any guidance . Thank you in Advance .

<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelVersion>4.0.0</modelVersion>   <parent>      <groupId>org.springframework.boot</groupId>      <artifactId>spring-boot-starter-parent</artifactId>      <version>2.4.2</version>      <relativePath/> <!-- lookup parent from repository -->   </parent>   <groupId>com.cresen</groupId>   <artifactId>activity-module</artifactId>   <version>0.0.1-SNAPSHOT</version>   <name>activity-module</name>   <description>Activity Module</description>   <properties>      <java.version>17</java.version>      <spring-cloud.version>2020.0.1</spring-cloud.version>      <flowable.version>6.6.0</flowable.version>      <tomcat.version>9.0.65</tomcat.version>      <external-dependencies>D:</external-dependencies>   </properties>   <dependencies>      <dependency>         <groupId>org.springframework.boot</groupId>         <artifactId>spring-boot-starter-web</artifactId>      </dependency>      <dependency>         <groupId>org.apache.commons</groupId>         <artifactId>commons-csv</artifactId>         <version>1.8</version>      </dependency>      <dependency>         <groupId>org.apache.poi</groupId>         <artifactId>poi-ooxml</artifactId>         <version>3.15</version>      </dependency>      <dependency>         <groupId>com.jcraft</groupId>         <artifactId>jsch</artifactId>         <version>0.1.55</version>      </dependency>      <dependency>         <groupId>org.springframework.cloud</groupId>         <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>      </dependency>      <dependency>         <groupId>org.projectlombok</groupId>         <artifactId>lombok</artifactId>         <version>1.18.22</version>         <scope>compile</scope>      </dependency>      <dependency>         <groupId>org.springframework.boot</groupId>         <artifactId>spring-boot-starter-test</artifactId>         <scope>test</scope>      </dependency>      <dependency>         <groupId>org.springframework.data</groupId>         <artifactId>spring-data-commons</artifactId>         <version>2.4.2</version>      </dependency>      <dependency>         <groupId>javax.persistence</groupId>         <artifactId>javax.persistence-api</artifactId>         <version>2.2</version>         <scope>compile</scope>      </dependency>      <dependency>         <groupId>org.springframework.data</groupId>         <artifactId>spring-data-jpa</artifactId>         <version>2.4.2</version>      </dependency>      <dependency>         <groupId>org.springframework.boot</groupId>         <artifactId>spring-boot-starter-data-jpa</artifactId>      </dependency>      <dependency>         <groupId>org.springframework.boot</groupId>         <artifactId>spring-boot-starter-actuator</artifactId>      </dependency>      <dependency>         <groupId>io.micrometer</groupId>         <artifactId>micrometer-registry-prometheus</artifactId>         <scope>runtime</scope>      </dependency>      <dependency>         <groupId>org.modelmapper</groupId>         <artifactId>modelmapper</artifactId>         <version>2.3.2</version>      </dependency>      <dependency>         <groupId>com.cresen</groupId>         <artifactId>hcp-contracting.commons</artifactId>         <version>1.0</version>      </dependency>      <dependency>         <groupId>org.postgresql</groupId>         <artifactId>postgresql</artifactId>      </dependency>      <dependency>         <groupId>com.vladmihalcea</groupId>         <artifactId>hibernate-types-52</artifactId>         <version>2.3.4</version>      </dependency>      <dependency>         <groupId>io.jsonwebtoken</groupId>         <artifactId>jjwt</artifactId>         <version>0.9.1</version>      </dependency>      <dependency>         <groupId>com.google.code.gson</groupId>         <artifactId>gson</artifactId>         <version>2.8.6</version>      </dependency>      <dependency>         <groupId>com.googlecode.json-simple</groupId>         <artifactId>json-simple</artifactId>         <version>1.1.1</version>      </dependency>      <dependency>         <groupId>org.springframework.cloud</groupId>         <artifactId>spring-cloud-starter-openfeign</artifactId>      </dependency>      <dependency>         <groupId>org.springframework.cloud</groupId>         <artifactId>spring-cloud-starter-config</artifactId>      </dependency>      <dependency>         <groupId>org.springframework.cloud</groupId>         <artifactId>spring-cloud-starter-bootstrap</artifactId>      </dependency>      <dependency>         <groupId>org.flowable</groupId>         <artifactId>flowable-spring-boot-starter</artifactId>         <version>${flowable.version}</version>      </dependency>      <dependency>         <groupId>org.flowable</groupId>         <artifactId>flowable-spring-boot-starter-actuator</artifactId>         <version>${flowable.version}</version>      </dependency>      <!-- https://mvnrepository.com/artifact/org.openjdk.nashorn/nashorn-core -->      <dependency>         <groupId>org.openjdk.nashorn</groupId>         <artifactId>nashorn-core</artifactId>         <version>15.4</version>      </dependency>            <dependency>         <groupId>org.springframework</groupId>         <artifactId>spring-test</artifactId>      </dependency>      <dependency>         <groupId>com.docusign</groupId>         <artifactId>docusign-esign-java</artifactId>         <version>3.16.1</version>         <exclusions>            <exclusion>               <groupId>javax.ws.rs</groupId>               <artifactId>jsr311-api</artifactId>            </exclusion>            <exclusion>               <groupId>org.glassfish.jersey.core</groupId>               <artifactId>jersey-client</artifactId>            </exclusion>            <exclusion>               <groupId>jakarta.ws.rs</groupId>               <artifactId>jakarta.ws.rs-api</artifactId>            </exclusion>            <exclusion>               <groupId>org.glassfish.jersey.core</groupId>               <artifactId>jersey-common</artifactId>            </exclusion>         </exclusions>      </dependency>      <dependency>         <groupId>org.glassfish.jersey.core</groupId>         <artifactId>jersey-client</artifactId>         <version>3.0.3</version>         <exclusions>            <exclusion>               <groupId>jakarta.ws.rs</groupId>               <artifactId>jakarta.ws.rs-api</artifactId>            </exclusion>            <exclusion>               <groupId>org.glassfish.jersey.core</groupId>               <artifactId>jersey-common</artifactId>            </exclusion>         </exclusions>      </dependency>      <dependency>         <groupId>jakarta.ws.rs</groupId>         <artifactId>jakarta.ws.rs-api</artifactId>         <version>3.0.0</version>      </dependency>      <dependency>         <groupId>javax.ws.rs</groupId>         <artifactId>javax.ws.rs-api</artifactId>         <version>2.0.1</version>      </dependency>      <dependency>         <groupId>org.glassfish.jersey.core</groupId>         <artifactId>jersey-common</artifactId>         <version>3.1.4</version>      </dependency>   </dependencies>   <dependencyManagement>      <dependencies>         <dependency>            <groupId>org.springframework.cloud</groupId>            <artifactId>spring-cloud-dependencies</artifactId>            <version>${spring-cloud.version}</version>            <type>pom</type>            <scope>import</scope>         </dependency>      </dependencies>   </dependencyManagement>   <build>      <plugins>         <plugin>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-maven-plugin</artifactId>            <configuration>               <excludes>                  <exclude>                     <groupId>org.projectlombok</groupId>                     <artifactId>lombok</artifactId>                  </exclude>               </excludes>            </configuration>         </plugin>      </plugins>   </build>   <repositories>      <repository>         <id>spring-milestones</id>         <name>Spring Milestones</name>         <url>https://repo.spring.io/milestone</url>      </repository>      <repository>         <id>spring-snapshots</id>         <name>Spring Snapshots</name>         <url>https://repo.spring.io/snapshot</url>         <snapshots>            <enabled>true</enabled>         </snapshots>      </repository>   </repositories>   <pluginRepositories>      <pluginRepository>         <id>spring-milestones</id>         <name>Spring Milestones</name>         <url>https://repo.spring.io/milestone</url>      </pluginRepository>      <pluginRepository>         <id>spring-snapshots</id>         <name>Spring Snapshots</name>         <url>https://repo.spring.io/snapshot</url>         <snapshots>            <enabled>true</enabled>         </snapshots>      </pluginRepository>   </pluginRepositories></project>

1 reply

Badge

I have the same problem. Any solutions?

Reply