Java Problem

1
I am trying to compile the modeler and have been getting a Java error. Deploying in Eclipse directly will give me the following error. ( cannot convert from java.lang.String to claimsapi.proxies.String ) Type: Java Problem The Same error has thrown this exception in Mendix. Buildfile: C:\Claims Management-main2\deployment\buildcore.xml ‚Äč compile: [javac] Compiling 481 source files to C:\Claims Management-main2\deployment\run\bin [javac] C:\Claims Management-main2\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:\Claims Management-main2\javasource\claimsapi\proxies\LoadType.java:9: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] history(new String[][] { new String[] { "enUS", "history" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\LoadType.java:9: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] history(new String[][] { new String[] { "enUS", "history" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\LoadType.java:10: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] staffinfo(new String[][] { new String[] { "enUS", "staffinfo" } }); [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\LoadType.java:10: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] staffinfo(new String[][] { new String[] { "enUS", "staffinfo" } }); [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:9: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] OrderID(new String[][] { new String[] { "enUS", "Order ID" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:9: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] OrderID(new String[][] { new String[] { "enUS", "Order ID" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:10: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] BOL(new String[][] { new String[] { "enUS", "BOL" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:10: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] BOL(new String[][] { new String[] { "enUS", "BOL" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:11: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] PO(new String[][] { new String[] { "enUS", "PO#" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:11: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] PO(new String[][] { new String[] { "enUS", "PO#" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:12: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] Invoice(new String[][] { new String[] { "enUS", "Invoice #" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:12: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] Invoice(new String[][] { new String[] { "enUS", "Invoice #" } }), [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:13: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] CarrierPRO(new String[][] { new String[] { "enUS", "Carrier PRO #" } }); [javac] ^ [javac] C:\Claims Management-main2\javasource\claimsapi\proxies\SearchType.java:13: error: incompatible types: java.lang.String cannot be converted to claimsapi.proxies.String [javac] CarrierPRO(new String[][] { new String[] { "enUS", "Carrier PRO #" } }); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\Claims Management-main_2\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations.
asked
1 answers
0

I think you have an entity in your Claims_API module called String. It looks like there's some implicit use of the type String in the Mendix platform java code, and you're hitting an error because of it.

Can you change that entity name?

This is a platform bug so I recommend submitting a support ticket for it.

answered