[ 
https://issues.apache.org/jira/browse/PDFBOX-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318189#comment-17318189
 ] 

Axel Howind commented on PDFBOX-5159:
-------------------------------------

I checked out the pdfbox source from SVN and saw that the version of the 
maven-compiler plugin is not configured. When I tried to put together my 
example, I saw that Maven 3.8.1 for whatever reason used version 3.1 of the 
plugin while the minimum version compatible with Java 9 modules is 3.7.0. If 
that's the reason, adding `<version>3.7.0</version>` to configure the plugin 
might already solve the issue.
I will try to create a local version of pdfbox and report back if that solves 
it.

> module not visible in PDFBox 3.0 RC1 
> -------------------------------------
>
>                 Key: PDFBOX-5159
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5159
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 3.0.0 PDFBox
>         Environment: openjdk version "11.0.10" 2021-01-19
> OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)
> macOS 11 (Big Sur) 11.2.3
>            Reporter: Axel Howind
>            Priority: Major
>         Attachments: issue.zip, pom.xml
>
>
> The module "org.apache.pdfbox" is not found when using the 3.0 RC1 build of 
> PDFbox.
>  
> Steps to reproduce:
>  1. unzip attached zip file
>  2. run `./gradlew build`(or use the batch version instead if on windows)
>  3. compilation fails with the following error
> > Task :compileJava FAILED
>  
> /Users/axel/Development/issues/pdfbox/modulenotfound/src/main/java/module-info.java:4:
>  *error: module not found: org.apache.pdfbox*
>  requires org.apache.pdfbox;
>  ^
>  1 error
> FAILURE: Build failed with an exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to