Java Compilation error

0
Hi, I converted my app from 8.17 to 9.18 but now I’m getting follow ‘Java Compilation Error: Buildfile: C:\Users\u657425\Documents\Mendix\PartsStore2020-main\deployment\build_core.xml compile:     [javac] Compiling 431 source files to C:\Users\u657425\Documents\Mendix\PartsStore2020-main\deployment\run\bin     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:19: error: package org.apache.poi does not exist     [javac] import org.apache.poi.EncryptedDocumentException;     [javac]                      ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:20: error: package org.apache.poi.openxml4j.exceptions does not exist     [javac] import org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException;     [javac]                                           ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:21: error: package org.apache.poi.openxml4j.exceptions does not exist     [javac] import org.apache.poi.openxml4j.exceptions.OLE2NotOfficeXmlFileException;     [javac]                                           ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:22: error: package org.apache.poi.poifs.filesystem does not exist     [javac] import org.apache.poi.poifs.filesystem.NotOLE2FileException;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:23: error: package org.apache.poi.util does not exist     [javac] import org.apache.poi.util.RecordFormatException;     [javac]                           ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:25: error: package replication does not exist     [javac] import replication.AssociationConfig;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:26: error: package replication does not exist     [javac] import replication.ObjectConfig;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:27: error: package replication.ReplicationSettings does not exist     [javac] import replication.ReplicationSettings.AssociationDataHandling;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:28: error: package replication.ReplicationSettings does not exist     [javac] import replication.ReplicationSettings.ChangeTracking;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:29: error: package replication.ReplicationSettings does not exist     [javac] import replication.ReplicationSettings.KeyType;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:30: error: package replication.ReplicationSettings does not exist     [javac] import replication.ReplicationSettings.ObjectSearchAction;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:31: error: package replication.helpers does not exist     [javac] import replication.helpers.TimeMeasurement;     [javac]                           ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:32: error: package replication.implementation does not exist     [javac] import replication.implementation.MFValueParser;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:33: error: package replication.interfaces.IInfoHandler does not exist     [javac] import replication.interfaces.IInfoHandler.StatisticsLevel;     [javac]                                           ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:3: error: package replication does not exist     [javac] import replication.ReplicationSettings;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:4: error: package replication.implementation does not exist     [javac] import replication.implementation.ErrorHandler;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:5: error: package replication.implementation does not exist     [javac] import replication.implementation.InfoHandler;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:6: error: package replication.interfaces does not exist     [javac] import replication.interfaces.IValueParser;     [javac]                              ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:11: error: cannot find symbol     [javac] public class ExcelReplicationSettings extends ReplicationSettings {     [javac]                                               ^     [javac]   symbol: class ReplicationSettings     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelReader.java:71: error: cannot find symbol     [javac]     private TimeMeasurement timeMeasurement;     [javac]             ^     [javac]   symbol:   class TimeMeasurement     [javac]   location: class ExcelReader     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:13: error: cannot find symbol     [javac]     public ExcelReplicationSettings(IContext context, String objectType) throws MendixReplicationException {     [javac]                                                                                 ^     [javac]   symbol:   class MendixReplicationException     [javac]   location: class ExcelReplicationSettings     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:18: error: cannot find symbol     [javac]     public void addColumnMapping(String columnAlias, String memberName, boolean isKey, Boolean isCaseSensitive, IValueParser parser) throws CoreException {     [javac]                                                                                                                 ^     [javac]   symbol:   class IValueParser     [javac]   location: class ExcelReplicationSettings     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:22: error: cannot find symbol     [javac]     public void addAssociationMapping(String columnAlias, String associationName, String associatedObjectType, String memberName, IValueParser parser, KeyType isKey, Boolean isCaseSensitive) throws CoreException {     [javac]                                                                                                                                   ^     [javac]   symbol:   class IValueParser     [javac]   location: class ExcelReplicationSettings     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelReplicationSettings.java:22: error: cannot find symbol     [javac]     public void addAssociationMapping(String columnAlias, String associationName, String associatedObjectType, String memberName, IValueParser parser, KeyType isKey, Boolean isCaseSensitive) throws CoreException {     [javac]                                                                                                                                                        ^     [javac]   symbol:   class KeyType     [javac]   location: class ExcelReplicationSettings     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessor.java:3: error: package replication does not exist     [javac] import replication.ReplicationSettings;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessor.java:8: error: package ReplicationSettings does not exist     [javac]     void processValues(ExcelRowProcessor.ExcelCellData[] values, int rowNow, int sheetNow ) throws ReplicationSettings.MendixReplicationException;     [javac]                                                                                                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessor.java:9: error: package ReplicationSettings does not exist     [javac]     void finish() throws ReplicationSettings.MendixReplicationException;     [javac]                                             ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:6: error: package replication does not exist     [javac] import replication.MetaInfo;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:7: error: package replication.MetaInfo does not exist     [javac] import replication.MetaInfo.MetaInfoObject;     [javac]                            ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:8: error: package replication.ReplicationSettings does not exist     [javac] import replication.ReplicationSettings.MendixReplicationException;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:9: error: package replication.ValueParser does not exist     [javac] import replication.ValueParser.ParseException;     [javac]                               ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:17: error: package org.apache.poi.hssf.usermodel does not exist     [javac] import org.apache.poi.hssf.usermodel.HSSFDateUtil;     [javac]                                     ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:19: error: package org.apache.poi.ss.usermodel does not exist     [javac] import org.apache.poi.ss.usermodel.DateUtil;     [javac]                                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:20: error: package replication does not exist     [javac] import replication.ReplicationSettings;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:21: error: package replication does not exist     [javac] import replication.ValueParser;     [javac]                   ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:22: error: package replication.interfaces does not exist     [javac] import replication.interfaces.IValueParser;     [javac]                              ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:30: error: cannot find symbol     [javac] public class ExcelValueParser extends ValueParser {     [javac]                                       ^     [javac]   symbol: class ValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:19: error: cannot find symbol     [javac]     private MetaInfo info;     [javac]             ^     [javac]   symbol:   class MetaInfo     [javac]   location: class ExcelRowProcessorImpl     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:27: error: cannot find symbol     [javac]     public ExcelRowProcessorImpl(ExcelReplicationSettings settings, Map<String, Set<DocProperties>> docProps) throws MendixReplicationException {     [javac]                                                                                                                      ^     [javac]   symbol:   class MendixReplicationException     [javac]   location: class ExcelRowProcessorImpl     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:37: error: cannot find symbol     [javac]     public void processValues(ExcelRowProcessor.ExcelCellData[] values, int rowNow, int sheetNow ) throws MendixReplicationException {     [javac]                                                                                                           ^     [javac]   symbol:   class MendixReplicationException     [javac]   location: class ExcelRowProcessorImpl     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelRowProcessorImpl.java:126: error: cannot find symbol     [javac]     public void finish() throws MendixReplicationException {     [javac]                                 ^     [javac]   symbol:   class MendixReplicationException     [javac]   location: class ExcelRowProcessorImpl     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:60: error: cannot find symbol     [javac]     public ExcelValueParser( Map<String, IValueParser> customValueParsers, ReplicationSettings settings ) {     [javac]                                          ^     [javac]   symbol:   class IValueParser     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:60: error: cannot find symbol     [javac]     public ExcelValueParser( Map<String, IValueParser> customValueParsers, ReplicationSettings settings ) {     [javac]                                                                            ^     [javac]   symbol:   class ReplicationSettings     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:65: error: cannot find symbol     [javac]     public Object getValueFromDataSet( String column, PrimitiveType type, Object dataSet ) throws ParseException {     [javac]                                                                                                   ^     [javac]   symbol:   class ParseException     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:76: error: cannot find symbol     [javac]     public String getKeyValueFromAlias(Object recordDataSet, String keyAlias) throws ParseException {     [javac]                                                                                      ^     [javac]   symbol:   class ParseException     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:82: error: cannot find symbol     [javac]     private Object getValue(PrimitiveType type, String column, ExcelCellData cellData) throws ParseException {     [javac]                                                                                               ^     [javac]   symbol:   class ParseException     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:118: error: cannot find symbol     [javac]     private BigDecimal parseToNumber(ExcelCellData cellData) throws ParseException {     [javac]                                                                     ^     [javac]   symbol:   class ParseException     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:140: error: cannot find symbol     [javac]     private Object parseToDateTime(String column, ExcelCellData cellData) throws ParseException {     [javac]                                                                                  ^     [javac]   symbol:   class ParseException     [javac]   location: class ExcelValueParser     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSDataReader.java:4: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFEventFactory;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSDataReader.java:5: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFRequest;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSDataReader.java:6: error: package org.apache.poi.hssf.record.crypto does not exist     [javac] import org.apache.poi.hssf.record.crypto.Biff8EncryptionKey;     [javac]                                         ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSDataReader.java:7: error: package org.apache.poi.poifs.filesystem does not exist     [javac] import org.apache.poi.poifs.filesystem.POIFSFileSystem;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSDataReader.java:45: error: cannot find symbol     [javac]     private static InputStream getInputStreamFromPOIFS(POIFSFileSystem poifs) throws CoreException, IOException {     [javac]                                                        ^     [javac]   symbol:   class POIFSFileSystem     [javac]   location: class ExcelXLSDataReader     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSHeaderReader.java:4: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFEventFactory;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSHeaderReader.java:5: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFListener;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSHeaderReader.java:6: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFRequest;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSHeaderReader.java:7: error: package org.apache.poi.poifs.filesystem does not exist     [javac] import org.apache.poi.poifs.filesystem.POIFSFileSystem;     [javac]                                       ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:6: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFListener;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:7: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BOFRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:8: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BoolErrRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:9: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.FormulaRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:10: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.LabelSSTRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:11: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.NumberRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:12: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.Record;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:13: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.SSTRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:21: error: cannot find symbol     [javac] public class ExcelXLSReaderDataFirstPassListener implements HSSFListener {     [javac]                                                             ^     [javac]   symbol: class HSSFListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataFirstPassListener.java:44: error: cannot find symbol     [javac]     public void processRecord(Record record) {     [javac]                               ^     [javac]   symbol:   class Record     [javac]   location: class ExcelXLSReaderDataFirstPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:10: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFListener;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:11: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BOFRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:12: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BoolErrRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:13: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.CellValueRecordInterface;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:14: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.EOFRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:15: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.ExtendedFormatRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:16: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.FormatRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:17: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.FormulaRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:18: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.LabelSSTRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:19: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.NumberRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:20: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.Record;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:21: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.SSTRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:22: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.StringRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:23: error: package org.apache.poi.hssf.usermodel does not exist     [javac] import org.apache.poi.hssf.usermodel.HSSFDataFormat;     [javac]                                     ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:24: error: package org.apache.poi.hssf.usermodel does not exist     [javac] import org.apache.poi.hssf.usermodel.HSSFDataFormatter;     [javac]                                     ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:37: error: cannot find symbol     [javac] public class ExcelXLSReaderDataSecondPassListener implements HSSFListener {     [javac]                                                              ^     [javac]   symbol: class HSSFListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:56: error: cannot find symbol     [javac]     private HSSFDataFormatter _formatter = new HSSFDataFormatter();     [javac]             ^     [javac]   symbol:   class HSSFDataFormatter     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:57: error: cannot find symbol     [javac]     private final Map<Integer, FormatRecord> _customFormatRecords = new Hashtable<Integer, FormatRecord>();     [javac]                                ^     [javac]   symbol:   class FormatRecord     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:58: error: cannot find symbol     [javac]     private final List<ExtendedFormatRecord> _xfRecords = new ArrayList<ExtendedFormatRecord>();     [javac]                        ^     [javac]   symbol:   class ExtendedFormatRecord     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:77: error: cannot find symbol     [javac]     public void processRecord(Record record) throws ExcelRuntimeException {     [javac]                               ^     [javac]   symbol:   class Record     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:197: error: cannot find symbol     [javac]     public String formatNumberDateCell(CellValueRecordInterface cell) {     [javac]                                        ^     [javac]   symbol:   class CellValueRecordInterface     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:248: error: cannot find symbol     [javac]     public String getFormatString(CellValueRecordInterface cell) {     [javac]                                   ^     [javac]   symbol:   class CellValueRecordInterface     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderDataSecondPassListener.java:261: error: cannot find symbol     [javac]     public int getFormatIndex(CellValueRecordInterface cell) {     [javac]                               ^     [javac]   symbol:   class CellValueRecordInterface     [javac]   location: class ExcelXLSReaderDataSecondPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:5: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFListener;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:6: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BOFRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:7: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.LabelSSTRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:8: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.Record;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:9: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.RowRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:17: error: cannot find symbol     [javac] public class ExcelXLSReaderHeaderFirstPassListener implements HSSFListener {     [javac]                                                               ^     [javac]   symbol: class HSSFListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderFirstPassListener.java:46: error: cannot find symbol     [javac]     public void processRecord( Record record ) {     [javac]                                ^     [javac]   symbol:   class Record     [javac]   location: class ExcelXLSReaderHeaderFirstPassListener     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderSecondPassListener.java:7: error: package org.apache.poi.hssf.eventusermodel does not exist     [javac] import org.apache.poi.hssf.eventusermodel.HSSFListener;     [javac]                                          ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderSecondPassListener.java:8: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BOFRecord;     [javac]                                  ^     [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSReaderHeaderSecondPassListener.java:9: error: package org.apache.poi.hssf.record does not exist     [javac] import org.apache.poi.hssf.record.BoolErrRecord;     [javac]                                  ^     [javac] Note: Some input files use or override a deprecated API.     [javac] Note: Recompile with -Xlint:deprecation for details.     [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output     [javac] 100 errors BUILD FAILED C:\Users\u657425\Documents\Mendix\PartsStore2020-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 3 seconds Please let me know how to solve this issue?
asked
3 answers
2

Update excel exporter and / or excel importer from the marketplace.

answered
1

Did you follow the prerequisites?
https://docs.mendix.com/appstore/modules/excel-importer/#2-prerequisites

It sounds like you need to remove the old replication.jar file and install the Database Replication module. From the documentation...
 

  • Install the Mx Model Reflection module in order to configure the mapping between the Excel columns and the domain model
  • Install the Community Commons Function Library module to ensure BigDecimal values can be imported
  • Remove older versions of replication.jar file (supplied in the .mpk file) before installing this module
    • If you have an old replication.jar file and you were using the Excel Importer, update the Database Replication module as well, because you need version 3.0 or higher when using this module
    • After updating, you do not need to remove the library

I hope this helps

answered
0

Thank you Chris,

After updating the excel importer module and removing the errors, I’m getting following java compilation error:

Buildfile: C:\Users\u657425\Documents\Mendix\PartsStore2020-main\deployment\build_core.xml

compile:
    [javac] Compiling 434 source files to C:\Users\u657425\Documents\Mendix\PartsStore2020-main\deployment\run\bin
    [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSXDataReader.java:15: error: package replication.ReplicationSettings does not exist
    [javac] import replication.ReplicationSettings.MendixReplicationException;
    [javac]                                       ^
    [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSXReader.java:20: error: package replication does not exist
    [javac] import replication.ValueParser;
    [javac]                   ^
    [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSXReader.java:21: error: package replication.ValueParser does not exist
    [javac] import replication.ValueParser.ParseException;
    [javac]                               ^
    [javac] C:\Users\u657425\Documents\Mendix\PartsStore2020-main\javasource\excelimporter\reader\readers\ExcelXLSXHeaderReader.java:21: error: package replication.ValueParser does not exist
    [javac] import replication.ValueParser.ParseException;
    [javac]                               ^
    [javac] 4 errors

BUILD FAILED
C:\Users\u657425\Documents\Mendix\PartsStore2020-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details.

Total time: 2 seconds

 

How do I resolve this?

answered