Compile error while uprading to 10.18.0 with DataImporter-Module

0
Hello all,    we are currently updating to MTS Version 10.18.0, which was released end of 2024.   After updating Mendix Studio Pro showed an error, that DataImporter needs to be updated. We did that and are now facing a compile error and executing the project is no longer possible:   C:\Dev\Mendix\C-MasterData-main\javasource\dataimporter\implementation\service\ExcelXLSXDataReader.java:54: error: getNumberOfFonts() in XSSFWorkbook cannot implement getNumberOfFonts() in Workbook try (XSSFWorkbook workbook = new XSSFWorkbook(excelFile) { ^ return type short is not compatible with int Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compile'. > Compilation failed; see the compiler error output for details. * Try: > Run with --scan to get full insights. BUILD FAILED in 7s     Any idea how to solve this? I tried deleting some old Userlib dependencies, which didn´t help...   Regards Philipp
asked
1 answers
1

Hello Philip, 

 

One thing you can do is to check if the data importer works in a blank new project.

If so also install your other marketplace modules in there, if it is still working then compare the userlibs between the two projects.

If it is not working create a ticket by mendix support it is a platform supported module so they should give assistance on it.

 

Hope this helps,

Good luck

 

PS: i also saw lately a userlib cleaner on linkedin did not had time yet to dive into it but it looked promising 

 

https://www.linkedin.com/posts/mitchelmol_mxignitefeatureflashadventcalendar-mendixignite-activity-7268904159741984768-xMHA/

 

https://www.linkedin.com/feed/update/urn:li:activity:7280153298190446594/ 

answered