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

Could not find org.docx4j:docx4j-samples-resources:8.2.8 #69

Open
gilshallem opened this issue Jan 17, 2021 · 2 comments
Open

Could not find org.docx4j:docx4j-samples-resources:8.2.8 #69

gilshallem opened this issue Jan 17, 2021 · 2 comments

Comments

@gilshallem
Copy link

I get this message "Could not find org.docx4j:docx4j-samples-resources:8.2.8"
it seems that there is only
org.docx4j:docx4j-samples-resources-local:8.2.8
OR
org.docx4j:docx4j-samples-resources-remote:8.2.8

@plutext
Copy link
Owner

plutext commented Jan 17, 2021

Thanks for this. Please use an exclusion to exclude it from -ImportXHTML's deps; see http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

See https://github.com/plutext/docx4j/tree/master/docx4j-samples-resources/src/main/resources for a sample docx4j.properties and log configuration.

@gilshallem
Copy link
Author

gilshallem commented Jan 17, 2021

Thank you, Don't know why I didn't think about it :)

for others that are using gradle:
implementation('org.docx4j:docx4j-ImportXHTML:8.2.0'){ exclude group: 'org.docx4j', module:'docx4j-samples-resources' }

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