forge / plugin-hibersap

Hibersap Plugin
GNU Lesser General Public License v3.0
8 stars 12 forks source link

error: incompatible types: Set<ParameterMapping> cannot be converted to Set<FieldMapping> #18

Open alptureci90 opened 6 years ago

alptureci90 commented 6 years ago

Hi,

Following your blog

at the initial step of installing the git-plugin with the below command:

forge addon-install-from-git https://github.com/forge/plugin-hibersap.git --ref 1.0.0

I got the below error message: [SEVERE] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [SEVERE] /var/folders/h6/b3ztqj9s0fq39scgd03m0xd40000gn/T/tmpdir14663849830543147696/src/main/java/org/hibersap/forge/sap/SAPEntityBuilder.java:[243,49] error: incompatible types: Set(ParameterMapping> cannot be converted to Set(FieldMapping>

[SEVERE] /var/folders/h6/b3ztqj9s0fq39scgd03m0xd40000gn/T/tmpdir14663849830543147696/src/main/java/org/hibersap/forge/sap/SAPEntityBuilder.java:[247,69] error: incompatible types: Set(ParameterMapping> cannot be converted to Set(FieldMapping>

I am using JBoss-Forge version 3.9.0.Final Java 10 any help will be greatly appreciated.

sincerely Alp Tureci

cerker commented 6 years ago

We should first upgrade the Hibersap Forge plugin to a current Forge version, it is built on Forge 1.4.2 which is quite old. If you are interested in providing a PR, I can help with Hibersap related problems.