Reputation: 26077
When i have used the following dependency, 1.8.6
or 1.8.7
, i am not able to get the class PDFieldTreeNode
.
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>1.8.6</version>
</dependency>
I have checked the jar i have downloaded, and also the sources jar as well, but the file is not present.
But when i changed to <version>2.0.0-SNAPSHOT</version>
, i am able to get the file.
What is the issue in other versions, also this is not the new file added.
Upvotes: 0
Views: 1205
Reputation: 2861
According to the PDFBOX JavaDocs there is no class as PDFieldTreeNode
http://pdfbox.apache.org/docs/1.8.6/javadocs/
http://pdfbox.apache.org/docs/1.8.5/javadocs/
As on your comment check there svn repository, from last few releases there are modifications done in this file along with other files as well, but not added as a new.
The release date of the version 1.8.6
is (Jun 22, 2014)
refer here
The first commit was made on the class file PDFieldTreeNode
(Aug 16, 2014)
I referred it on the SVN log.
Upvotes: 2
Reputation: 26077
I have verified it.
Issue with id - PDFBOX-2261
has not been added until 1.8.7 release
.
Was added in <version>2.0.0-SNAPSHOT</version>
http://www.apache.org/dist/pdfbox/1.8.7/RELEASE-NOTES.txt
Upvotes: 1