Creating JAR with dependencies (Jars and Dlls) Follow
Hello friends,
My project with JCEF is working properly on IntelliJ.
JCEF - Chromium Embedded Framework
https://bitbucket.org/chromiumembedded/java-cef/wiki/BranchesAndBuilding
But when I generate the final .JAR from my project I think the dependencies are not being loaded.
The .JAR and DLL files from the JCEF distribution are not being copied.
I already added all dependencies:
Required components:
The following components are required. JCEF will not function without them.
* Java archives.
jcef.jar
gluegen-rt.jar
gluegen-rt-natives-windows-amd64.jar
jogl-all.jar
jogl-all-natives-windows-amd64.jar
* CEF JNI library.
jcef.dll
* CEF JNI process helper.
jcef_helper.exe
* CEF core library.
* libcef.dll
* Unicode support data.
* icudtl.dat
* V8 snapshot data.
* natives_blob.bin
* snapshot_blob.bin
But when I generate the .jar I'm still getting the following error:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/cef/handler/CefLifeSpanHandler
THANKS !
Please sign in to leave a comment.
Hi. Could you please provide a project source, if possible?