Wendy Smoak wrote:
Don, was that .jar file compiled with JDK 1.5 by any chance?
Doh, you are right. I updated it with the correct one. Perhaps this
should be made a SNAPSHOT so maven will always try to download the
latest one?
Don
java:compile:
[echo] Compiling to e:\svn\struts\current\core/target/classes
[echo]
==========================================================
NOTE: Targetting JVM 1.4, classes
will not run on earlier JVMs
==========================================================
[javac] Compiling 146 source files to
E:\svn\struts\current\core\target\classes
E:\svn\struts\current\core\src\share\org\apache\struts\validator\ValidatorForm.j
ava:29: cannot access org.apache.commons.validator.Validator
bad class file: C:\Documents and
Settings\wendy\.maven\repository\commons-validator\jars\commons-validator-1.2.0-dev.jar(org/apache/commons/validator/Validator.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of
the classpath.
import org.apache.commons.validator.Validator;
^
1 error
BUILD FAILED
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]