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

Compilation of java actions failed

$
0
0

Im trying to migrate from 5.4.1 to 7.1.0. In order to do so, i first have to migrate to a higher version of modeler 5. Therefore I first opened my project in 5.19.0. When doing so I of course get a few errors, after fixing those I try to run the project but run in to the compiler error below. 

Can someone help me with this?

 

Buildfile: C:\Mendix\Claims2020 mx5.19\deployment\build_core.xml

compile:
    [javac] Compiling 248 source files to C:\Mendix\Claims2020 mx5.19\deployment\run\bin
    [javac] C:\Mendix\Claims2020 mx5.19\javasource\resources\proxies\InfoIcon.java:9: warning: '_' used as an identifier
    [javac]     _(new String[][] { new String[] { "en_US", "?" } });
    [javac]     ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Mendix\Claims2020 mx5.19\javasource\communitycommons\actions\GenerateThumbnail.java:92: error: cannot find symbol
    [javac]         File basefilename = Core.getComponent().fileProcessor().getFileDocumentAsFile(getContext(), __sourceObj);
    [javac]                                                ^
    [javac]   symbol:   method fileProcessor()
    [javac]   location: interface LocalComponent
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: C:\Mendix\Claims2020 mx5.19\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 1 warning

BUILD FAILED
C:\Mendix\Claims2020 mx5.19\deployment\build_core.xml:27: Compile failed; see the compiler error output for details.

Total time: 6 seconds


Viewing all articles
Browse latest Browse all 82453

Trending Articles



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