cannot find symbol MESSAGES_KEY
Hello I have an application in struts, but when I try to compile it (in my Linux console using ANT), I get these error messages:
ant deploy
Buildfile: build.xml
init:
compile:
[javac] Compiling 41 source files to /tmp/bog/Horas/WEB-INF/classes
[javac] /tmp/bog/Horas/WEB-INF/src/co/com/he/cliente/gui/form/QuincenaForm.java:78: cannot find symbol
[javac] symbol : variable MESSAGES_KEY
[javac] location:class org.apache.struts.action.Action
[javac](MessageResources)req.getAttribute( Action.MESSAGES_KEY);
[javac]^
[javac] /tmp/bog/Horas/WEB-INF/src/co/com/he/cliente/gui/form/RegistroForm.java:54: cannot find symbol
[javac] symbol : variable MESSAGES_KEY
[javac] location:class org.apache.struts.action.Action
[javac](MessageResources)req.getAttribute( Action.MESSAGES_KEY );
[javac]^
[javac] /tmp/bog/Horas/WEB-INF/src/co/com/he/cliente/gui/form/LoginForm.java:32: cannot find symbol
[javac] symbol : variable MESSAGES_KEY
[javac] location:class org.apache.struts.action.Action
[javac](MessageResources)req.getAttribute( Action.MESSAGES_KEY );
[javac]^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecationfor details.
[javac] 3 errors
BUILD FAILED
/tmp/bog/Horas/WEB-INF/build.xml:30: Compile failed; see the compiler error outputfor details.
Total time: 3 seconds
I was looking for the MESSAGES_KEY variable and it appears in the strtus dtd. I have struts.jar in my classpath.
What could the problem be?

