Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

Mendix 7 Java errors on upgrade

$
0
0

I had a fairly lightweight application in v6 recently I upgraded it to v7 and got following errors in java related to community commons and excel imported. I have tired different java versions in 1.8 thinking that was the problem but still this remains an issue. I can't start the application blocking development. 

Any help would be great, below is the rrors I am getting. 

Buildfile: C:\Users\tester\Documents\Mendix\Test123-main\deployment\build_core.xml

 

compile:

    [javac] Compiling 351 source files to C:\Users\tester\Documents\Mendix\Test123-main\deployment\run\bin

    [javac] C:\Users\tester\Documents\Mendix\Test123-main\javasource\communitycommons\Misc.java:656: error: unreported exception COSVisitorException; must be caught or declared to be thrown

    [javac]                              overlay.overlay(new HashMap<Integer, String>()).save(baos);

    [javac]                                                                                  ^

    [javac] C:\Users\tester\Documents\Mendix\Test123-main\javasource\excelimporter\reader\readers\ExcelReader.java:332: error: cannot find symbol

    [javac]                                                              this.settings.addDefaultInputMask(fieldIdentifier, (String) column.getValue(context, Column.MemberNames.InputMask.toString()));

    [javac]                                                                           ^

    [javac]   symbol:   method addDefaultInputMask(String,String)

    [javac]   location: variable settings of type ExcelReplicationSettings

    [javac] C:\Users\tester\Documents\Mendix\Test123-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:103: error: cannot find symbol

    [javac]                                                              else if ( this.settings.hasDefaultInputMask(column) != null ) {

    [javac]                                                                                     ^

    [javac]   symbol:   method hasDefaultInputMask(String)

    [javac]   location: variable settings of type ReplicationSettings

    [javac] C:\Users\tester\Documents\Mendix\Test123-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:104: error: cannot find symbol

    [javac]                                                                              this.settings.addDisplayMask(column, this.settings.getDefaultInputMask(column));

    [javac]                                                                                                                                ^

    [javac]   symbol:   method getDefaultInputMask(String)

    [javac]   location: variable settings of type ReplicationSettings

    [javac] C:\Users\tester\Documents\Mendix\Test123-main\javasource\excelimporter\reader\readers\replication\ExcelValueParser.java:106: error: cannot find symbol

    [javac]                                                              else if ( !this.settings.hasValueParser(column) )

    [javac]                                                                                      ^

    [javac]   symbol:   method hasValueParser(String)

    [javac]   location: variable settings of type ReplicationSettings

    [javac] Note: Some input files use or override a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] 5 errors

 


Viewing all articles
Browse latest Browse all 83469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>