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

DTAP Mode - Compilation Error

$
0
0

Hi Mendix Community, I recently migrated one of my project from Mendix 5 to Mendix 6. I had problems with the Widget compatibility after i converted it. I replaced and changed the widgets that were compatible for Mendix 6. While Compiling the project i encountered the following Error.

**

  • Fixes tried:

** 1. I tried Opening the Project in Eclipse and Changed the DTAPMode to Acceptance,i.e; it was not helpful. 2. The other alternative was to use IsInDevelopment() method to replace The DTAP Mode by casting an object of DTAPMode type. I was unsuccessful here too.

Can someone provide me an alternative solution for this fix.

Error: Buildfile: C:\Users\mansur.milky\Documents\CBRE V.6-main\deployment\build_core.xml

compile: [javac] Compiling 240 source files to C:\Users\mansur.milky\Documents\CBRE V.6-main\deployment\run\bin [javac] C:\Users\mansur.milky\Documents\CBRE V.6-main\javasource\communitycommons\actions\getDTAPMode.java:33: error: boolean cannot be dereferenced [javac] return DTAPMode.valueOf(Core.getConfiguration(). isInDevelopment().toString()).toString(); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\Users\mansur.milky\Documents\CBRE V.6-main\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error

BUILD FAILED C:\Users\mansur.milky\Documents\CBRE V.6-main\deployment\build_core.xml:27: Compile failed; see the compiler error output for details.

Total time: 33 seconds


Viewing all articles
Browse latest Browse all 80876

Trending Articles



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