Compilation java action failed

0
Hi  compile time error occur and  auto generated error in eclipse java file     Compilation java Action Failed    Build file: C:\Users\lenovo\Documents\Mendix\EcommerceApp-main\deployment\build_core.xml compile:    [javac] Compiling 2 source files to C:\Users\lenovo\Documents\Mendix\EcommerceApp-main\deployment\run\bin    [javac] C:\Users\lenovo\Documents\Mendix\EcommerceApp-main\javasource\salesmanager\actions\JA_GenerateSalesId.java:61: error: class, interface, or enum expected    [javac] }    [javac] ^    [javac] 1 error BUILD FAILEDC:\Users\lenovo\Documents\Mendix\EcommerceApp-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 2 seconds
asked
2 answers
0

Looks like it's a new added java action. Did you open it in eclipse and check als solve the error messages there?

 

Also in Eclipse make sure the java version compiling in eclipse is the same as in the modeler

answered
-1

Hi 

Can you try once after cleaning deployment directory

answered