A Strange problem found when adding JavaCV dependencies:
- if only add
both jar will be copied to shared/lib in tomcat after deployment from Studio.
But if add below:
javacpp-1.5.4.jar will be copied and suddenly deleted, which will cause runtime issue working with API in javacpp.
Could you please help check if this is CUBA gradle plugin issue or something else?
Thank you for reporting the problem. We have created a GitHub issue.
CUBA uses its own dependency resolution process for
shared libs folder. OpenCV library names are differ from standard library names and CUBA tries to remove libraries.
We have fix the problem in one case, but there are still cases that remove OpenCV libraries.
Could you provide a sample project with opencv library usage or a full list of dependencies with OpenCV?
This issue was reported in China forum, and the developer is @4714407. He also reported in this post:
@4714407 could you share your sample project here?
Adding below to build.gradle:
missing jar is: