In 90% of my cases local deployment errors are solved by cleaning the deployment directory (Modeler --> Project --> Clean Deployment Directory)
Clean deployment directory and run again. If the error persists, check this code is still used. The helpers directory is ofter created manually by developers. Otherwise migrate the code to your version of mendix
The error says that there are two overloads of the method setProgress_AmountInvestedPC
: one of them accepts an IContext
and a String
and the other accepts a String
and nothing else.
The call is supplying a long integer to the method and that is not accepted. Did you mean to pass the string pcint
instead? Like this:
totals.setProgress_AmountInvestedPC(pcint);
cleaning deployment directory and deleting the system file out of javasource did not work. I will peruse through other forum posts. For now, thanks guys! --------------------------------------->my error----> Buildfile: C:\Users\msc\Dropbox (Mendix)\Private Folder\Windows Folders (Synced)\My Documents\Test Projects - mpk\Large LossLV\deployment\buildcore.xml
compile: [javac] Compiling 497 source files to C:\Users\msc\Dropbox (Mendix)\Private Folder\Windows Folders (Synced)\My Documents\Test Projects - mpk\Large LossLV\deployment\run\bin [javac] C:\Users\msc\Dropbox (Mendix)\Private Folder\Windows Folders (Synced)\My Documents\Test Projects - mpk\Large LossLV\javasource\restservices\publish\RestServiceHandler.java:251: warning: '' used as an identifier [javac] String _) { [javac] ^ [javac] (use of '' as an identifier might not be supported in releases after Java SE 8) [javac] C:\Users\msc\Dropbox (Mendix)\Private Folder\Windows Folders (Synced)\My Documents\Test Projects - mpk\Large LossLV\javasource\mxmodelreflection\actions\ReplaceToken.java:41: error: cannot find symbol [javac] return TokenReplacer.replaceToken(this.getContext(), this.Text, this.TokenObject, this.ValueObject); [javac] ^ [javac] symbol: variable Text [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\Users\msc\Dropbox (Mendix)\Private Folder\Windows Folders (Synced)\My Documents\Test Projects - mpk\Large LossLV\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:\Users\msc\Dropbox (Mendix)\Private Folder\Windows Folders (Synced)\My Documents\Test Projects - mpk\Large LossLV\deployment\buildcore.xml:27: Compile failed; see the compiler error output for details.