pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init-macrodef-javac: init-macrodef-nbjpda: init-macrodef-debug: init-taskdefs: init: deps-jar: pre-pre-compile: pre-compile: do-compile: post-compile: compile: pre-dist: compile-jsps: Compiling 61 source files to E:\software\jstl\examples-1.1.1\build\generated\classes E:\software\jstl\examples-1.1.1\build\generated\src\org\apache\jsp\format\Demo_jsp.java:190: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) Enumeration enum = request.getLocales(); ^ E:\software\jstl\examples-1.1.1\build\generated\src\org\apache\jsp\format\Demo_jsp.java:191: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) while (enum.hasMoreElements()) { ^ E:\software\jstl\examples-1.1.1\build\generated\src\org\apache\jsp\format\Demo_jsp.java:192: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) Locale locale = (Locale)enum.nextElement(); ^ 3 errors E:\software\jstl\examples-1.1.1\nbproject\build-impl.xml:189: The following error occurred while executing this line: E:\software\jstl\examples-1.1.1\nbproject\build-impl.xml:79: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 6 seconds)