1 year ago

#387847

test-img

syed

Build maven project with dependent jars built of higher jdk

I have a maven project built with jdk7. Now, I have to add a dependency of an external jar that is built with jdk11.

When I tried to build it, it failed with

error: cannot access <CLASS NAME>

I want to understand if this error is because of the JDK versions mismatch or something else.

java

maven

java-8

0 Answers

Your Answer

Accepted video resources