-
Notifications
You must be signed in to change notification settings - Fork 314
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
XmlPullParserFactory class not found #14
Comments
mebibou, i'm not sure if this helps you but I ran into the same problem and I did the following to fix it. It's probably not the correct solution, but it worked for me. Replaced the kxml2 dependency in epublib-core with xpp3
I then replaced line 80 of EpubProcessorSupport.java from: I also commented out line 83: |
Hi, thanks for the reply. |
you can build project with maven: and it will get dependencies into you can copy those all in your project. |
- See psiegman#14 for further details regarding these changes.
Hi Paul,
I tried to create my own ebook from an existing ebook, by modifying stlightly the content to change some text, etc. Now when I try to create it (by doing epubWriter.write(book, new FileOutputStream(file));) I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactory
So I tried to add manually a jar for this, com.springsource.org.xmlpull-1.1.4.jar that I found after 30mins of search for a library that would contain the missing classes, but now get this error:
[ERROR] nl.siegmann.epublib.epub.EpubProcessorSupport - When creating XmlSerializer: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
Where could I get this library? thanks
The text was updated successfully, but these errors were encountered: