[
https://issues.apache.org/jira/browse/OFBIZ-13155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046544#comment-18046544
]
Jacques Le Roux commented on OFBIZ-13155:
-----------------------------------------
Hi Gil,
It's weird, when I change
{code:java}
- implementation 'org.apache.tika:tika-core:2.9.2' // To be compatible
with tika-parser-pdf-module below
- implementation 'org.apache.tika:tika-parsers:2.9.2' // To be compatible
with tika-parser-pdf-module below
- implementation 'org.apache.tika:tika-parser-pdf-module:2.9.2' // > 2.9.2
does not compile, see OFBIZ-13155
+ implementation 'org.apache.tika:tika-core:3.0.0' // To be compatible
with tika-parser-pdf-module below
+ implementation 'org.apache.tika:tika-parsers:3.0.0' // To be compatible
with tika-parser-pdf-module below
+ implementation 'org.apache.tika:tika-parser-pdf-module:3.0.0' // > 2.9.2
does not compile, see OFBIZ-13155
{code}
I get this
{code:java}
T extends Object declared in method <T>getValue(ELContext)
C:\projectsASF\Git\ofbiz-framework\framework\security\src\main\java\org\apache\ofbiz\security\SecuredUpload.java:690:
error: cannot find symbol
try (PDDocument pdDocument = PDDocument.load(file)) {
^
symbol: method load(File)
location: class PDDocument
{code}
Maybe I misunderstood what you mean?
> Update to Apache Tika 3.0.0
> ---------------------------
>
> Key: OFBIZ-13155
> URL: https://issues.apache.org/jira/browse/OFBIZ-13155
> Project: OFBiz
> Issue Type: Improvement
> Components: content, framework/security, framework/widget
> Affects Versions: Upcoming Branch
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-13155-ecommerce.patch, OFBIZ-13155-framework.patch
>
>
> Follows [https://lists.apache.org/thread/wz7ds83q39t74n5lloy87m504m9r7gs9]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)