I create a job talend, then I export this one as a jar.
The jar with the class is added. (build=> build configuration=>library=>add external jar) But, when I try the build the project I get these errors:
package demo.kosecleaninfileuploading_0_1 does not exist
package demo.kosecleaninfileuploading_0_1.contexts does not exist
What am I missing? (I'm using eclipse, Jhipster (Spring-boot) )
Thank you!
Please add your external jar as dependency in pom.xml
<dependency>
<groupId>"external-jar-group-id"</groupId>
<artifactId>"external-jar-artifact-id"</artifactId>
<version>"external jar version"</version>
<scope>system</scope>
<systemPath>${basedir}/lib/"external_jar_file_name.jar"</systemPath>
</dependency>
and include it in system scope by adding this
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>