I do successfully run my program by removing it from classpath but it results in the above error during excel file processing. See which jars are actually loaded by adding the -verbose parameter. Asked 6 years, 7 months ago. By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. But the real problem starts here.
Uploader: | Kigagul |
Date Added: | 9 June 2005 |
File Size: | 36.67 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 42484 |
Price: | Free* [*Free Regsitration Required] |
Please turn JavaScript back on and reload this page. Sign up or log in Sign up using Google. Unicorn Meta Zoo 9: Unable to read XML.
Withheld Withheld 2, 9 9 gold badges 40 40 silver badges 69 69 bronze documentexceptiob. My initial search on this found that the dom4j library may be missing but adding it to the pom. See which jars are actually loaded by adding the -verbose parameter.
Download dom4jjar : dom4j « d « Jar File Download
I have the same question 0. You don't have JavaScript enabled. Wasted more than a day on this.!! You can paste the command into a terminal and then see how Java resolves the classpath. But the real problem starts here. DocumentFactory cannot be cast to org. This content has been marked as final. BTW, the saxson dependency was added only because trying to use the latest dom4j resulted in unresolved dependencies when building. Sign up using Facebook.
Any idea why I am getting this exception only when launching from Eclipse and how to solve this problem? You can not post a blank message. Asked 6 years, 7 months ago. It has no problems downloading the dependency and building with it.
Download dom4j JAR 1.6.1 with all dependencies
I would go to the Eclipse "debug" view and get the actual command that Eclipse is using to run your program. One of the feature in my project is that, it'll copy a file. But since I downgraded to dom4j 1.
Here, Apache Poi is trying to access a method in dom4j. Correct Answers - 4 points. Move dom4j up the list so that you don't have another dependency that includes an older version of Dom4j. You will see a window called "process properties" from which can copy the command generated by Eclipse to run your program. These are mandatory for running your project. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.
Forums Downloads Projects Buzz. These are mandatory for running your project Poi Improving the question-asking experience.
Please type your message and try again. Active 5 years, 6 months ago. You should suspend the program as soon as it starts, then right click on the SECOND line in the "debug" view, then choose properties.
Post as a guest Name.
No comments:
Post a Comment