Taskana / taskana

Lightweight library for general purpose task management
https://taskana.pro
Apache License 2.0
92 stars 100 forks source link

Having this issue maven-installing taskana-common #2345

Closed sourav1768 closed 12 months ago

sourav1768 commented 1 year ago

Error(38, 19): Cannot infer type-variables T, K, U, T

mustaphazorgati commented 1 year ago

Which java version are you using? You need to use jdk11

sourav1768 commented 1 year ago

@mustaphazorgati I'm using JDK 17(Java version 17.0.7), Maven version 3.6.3. Is there any workaround? Switching back to JDK 11 would require a lot of modules to be re-built.

Thanks

mustaphazorgati commented 1 year ago

At the moment there is no workaround if you want to develop on TASKANA. We are currently working on an upgrade to JDK17, but we do not have a timeline for this.

If you just want to use TASKANA, you should use our artifacts from Maven Central anyway. They will run on JDK17 (but are not supported yet).

arolfes commented 12 months ago

Hello @sourav1768 , last week we merged the JAVA_17 branch into the master and created a release. https://github.com/Taskana/taskana/releases/tag/v7.0.0 Therefore I will close this ticket. Please reopen this ticket again if building taskana with jdk17 still causes problems. Best Regards