Skip to content
New issue

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

Which exactly to use and how to run this #25

Open
harishsundar opened this issue May 16, 2019 · 1 comment
Open

Which exactly to use and how to run this #25

harishsundar opened this issue May 16, 2019 · 1 comment

Comments

@harishsundar
Copy link

I created a java file and added the maven dependencies and I ran it as a java project . I got this error
The method create() is undefined for the type HtmlToPdf
HtmlToPdfObject cannot be resolved

How to resolve this and can anybody add how to run this?

@mavyfaby
Copy link

Just import the libraries and add the jar file to your CLASSPATH.

import io.woo.htmltopdf.HtmlToPdf;
import io.woo.htmltopdf.HtmlToPdfException;
import io.woo.htmltopdf.HtmlToPdfObject;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants