Error : Compiling java actions when using language items
3
Buildfile: C:\SData\SoumiFi\APPS\deployment\build_core.xml compile: [javac] Compiling 323 source files to C:\SData\SoumiFi\APPS\deployment\run\bin [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:9: error: unclosed string literal [javac] en_US(new java.lang.String[][] { new java.lang.String[] { "en_US", "EN" }, new java.lang.String[] { "fi_FI", "EN [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:10: error: unclosed string literal [javac] " } }), [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:13: error: class, interface, or enum expected [javac] private final java.util.Map<java.lang.String, java.lang.String> captions; [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:15: error: class, interface, or enum expected [javac] private ENUM_Language(java.lang.String[][] captionStrings) [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:18: error: class, interface, or enum expected [javac] for (java.lang.String[] captionString : captionStrings) { [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:20: error: class, interface, or enum expected [javac] } [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:23: error: class, interface, or enum expected [javac] public java.lang.String getCaption(java.lang.String languageCode) [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:26: error: class, interface, or enum expected [javac] } [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:28: error: class, interface, or enum expected [javac] public java.lang.String getCaption() [javac] ^ [javac] C:\SData\SoumiFi\APPS\javasource\feedbackportalmainmodule\proxies\ENUM_Language.java:31: error: class, interface, or enum expected [javac] } [javac] ^ [javac] 10 errors BUILD FAILED C:\SData\SoumiFi\APPS\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 1 second
asked
Shikha Basra
1 answers
1
That is an automatically generated file. Try going to App → Clean Deployment Directory to clean what is there, and then build your application again. That should force it to be regenerated and hopefully fix the problem.