We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am stuck with strange problems.
after packing project in jar and running java -jar app.jar it is showing such error.
java.lang.IllegalArgumentException: name at java.base/jdk.internal.loader.URLClassPath$Loader.findResource(URLClassPath.java:600) ~[na:na] at java.base/jdk.internal.loader.URLClassPath.findResource(URLClassPath.java:291) ~[na:na] at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:655) ~[na:na] at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:653) ~[na:na] at java.base/java.security.AccessController.doPrivileged(Native Method) ~[na:na] at java.base/java.net.URLClassLoader.findResource(URLClassLoader.java:652) ~[na:na] at org.springframework.boot.loader.LaunchedURLClassLoader.findResource(LaunchedURLClassLoader.java:57) ~[core-0.0.1.jar:0.0.1] at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1400) ~[na:na] at com.sun.jna.Native.extractFromResourcePath(Native.java:1019) ~[jna-4.5.2.jar!/:4.5.2 (b0)] at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:286) ~[jna-4.5.2.jar!/:4.5.2 (b0)] at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:427) ~[jna-4.5.2.jar!/:4.5.2 (b0)] at com.sun.jna.Library$Handler.<init>(Library.java:179) ~[jna-4.5.2.jar!/:4.5.2 (b0)] at com.sun.jna.Native.loadLibrary(Native.java:569) ~[jna-4.5.2.jar!/:4.5.2 (b0)] at com.sun.jna.Native.loadLibrary(Native.java:544) ~[jna-4.5.2.jar!/:4.5.2 (b0)] at io.woo.htmltopdf.wkhtmltopdf.WkHtmlToPdfLoader.load(WkHtmlToPdfLoader.java:39) ~[htmltopdf-1.0.8.jar!/:na] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
but when running from intellij run It is running very well.
Below is my pom.
<dependency> <groupId>io.woo</groupId> <artifactId>htmltopdf</artifactId> <version>1.0.8</version> <scope>compile</scope> </dependency>
My code is
boolean success = HtmlToPdf.create() .object(HtmlToPdfObject.forHtml(processedHtml)) .convert(outputFile.getPath());
The text was updated successfully, but these errors were encountered:
您好,后来解决了嘛,我现在也是这个问题
Sorry, something went wrong.
No branches or pull requests
I am stuck with strange problems.
after packing project in jar and running java -jar app.jar it is showing such error.
but when running from intellij run

It is running very well.
Below is my pom.
My code is
The text was updated successfully, but these errors were encountered: