12 Messages
Spring Boot Startup Error
Hello ,
Anytime I’m I try to run any of the Spring Boot Marketplace apps I get the same missing class error on startup from the Integration Library:
java.lang.ClassNotFoundException: org.springframework.web.reactive.function.client.WebClient
It doesn’t seem to matter which Marketplace App I compile I get the same runtime error from the Integration library on startup. Any ideas?
Thanks
scottnichols
12 Messages
3 years ago
Update,
I was able to get past the Spring boot startup error by adding a 1/2 dozen missing dependencies to the project’s pom.xml, which was very time consuming. Because you have to search the Internet for the Maven dependency, add it, restart the debugger, and repeat until there’s no more errors. Can the author of the integration library please provide a list of all the Maven dependencies required by the Integration library and what version(s ) of Spring are compatible to make this a more pleasant experience and easier?
Now, I am getting a runtime error when trying to export data via the Output Module Integration Library wrapper method. I am using Spring 2.6.0 and wonder it’s a compatibility issue with Spring 2.6.0 and the Integration Lib?
1
0
scottnichols
12 Messages
3 years ago
Additional Update,
I got the Integration library API call collibraExportApiHelper.exportAsJson working after downgrading to Integration Library 1.0.0 from 1.02. Yea!
Integration Library 1.02 returns the above error with that method call.
I’m still thinking it’s a dependency related version issue. Because I don’t know what versions of all the dependencies are required. I had to guess on this. It would be much easier if all the Maven runtime dependencies of the Integration library are listed. So, there is no guessing. I am attaching my working pom.xml . To build the pom.xml was time consuming. I started with just the Integration Library in the Maven pom.xml (pom.xml.txtpom.xml.txt (4.0 KB) ) I then kept adding dependencies 1 by 1, stopping/restarting , searching the Internet for the missing maven dependency, adding them to the pom.xml, r until the startup errors went away.
0
arthurburkhardt
1.2K Messages
3 years ago
Thank you @scott.nichols for all your efforts to clarify how to use it.
It looks like its still very rough around the edges, and given we would need to onboard new skills to configure such templates, it’s great to see that you are testing it.
0
0
scottnichols
12 Messages
3 years ago
Collibra Spring Boot Community,
My dependencies issues are resolved the correct way. The reason why I had so many dependencies issues is I didn’t install the library into the maven repo with the command below. This is documented in the install guide but missed it. That command creates a integration library pom.xml file (attached) in its directory collibra-integration-library-1.0.2.pom.txt (9.8 KB) . My original version was blank, which is why I had so many missing class errors.
Correct way to Install Integration Library
mvn org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install-file -Dfile=<path-to-jar-file>
0
0
rudolfkunkel
18 Messages
3 years ago
Spring Boot 2.5.7 and 2.6.0 works with Integration library 1.0.2
Below a Maven pom.xml example:
0
0