I got the Xwork project from CVS (java.net) and tried to build it with ant but the 
following errors
occurred:

Buildfile: build.xml

java:
    [mkdir] Created dir: C:\j2sdk1.4.1_02\xwork\build\java
    [javac] Compiling 82 source files to C:\j2sdk1.4.1_02\xwork\build\java
    [javac] C:\j2sdk1.4.1_02\xwork\src\java\com\opensymphony\xwork\util\OgnlVal
eStack.java:105: cannot resolve symbol
    [javac] symbol  : method setTraceEvaluations (boolean)
    [javac] location: class ognl.OgnlContext
    [javac]         ((OgnlContext) context).setTraceEvaluations(true);
    [javac]         ^
    [javac] C:\j2sdk1.4.1_02\xwork\src\java\com\opensymphony\xwork\util\Compoun
RootAccessor.java:22: com.opensymphony.xwork.util.CompoundRootAccessor should b
 declared abstract; it does not define callStaticMethod(java.util.Map,java.lang
Class,java.lang.String,java.util.List) in com.opensymphony.xwork.util.CompoundR
otAccessor
    [javac] public class CompoundRootAccessor implements PropertyAccessor, Meth
dAccessor, ClassResolver {
    [javac]        ^
    [javac] C:\j2sdk1.4.1_02\xwork\src\java\com\opensymphony\xwork\util\Compoun
RootAccessor.java:107: callMethod(ognl.OgnlContext,java.lang.Object,java.lang.S
ring,java.lang.String,java.util.List) in ognl.OgnlRuntime cannot be applied to
ognl.OgnlContext,java.lang.Object,java.lang.String,java.lang.String,java.lang.O
ject[])
    [javac]                 Object value = OgnlRuntime.callMethod((OgnlContext)
context, o, name, name, objects);
    [javac]                                           ^
    [javac] C:\j2sdk1.4.1_02\xwork\src\java\com\opensymphony\xwork\BaseActionSu
port.java:25: com.opensymphony.xwork.BaseActionSupport should be declared abstr
ct; it does not define getText(java.lang.String,java.util.List) in com.opensymp
ony.xwork.BaseActionSupport
    [javac] public class BaseActionSupport implements Action, Serializable, Val
dationAware, LocaleAware {
    [javac]        ^
    [javac] 4 errors

BUILD FAILED
file:C:/j2sdk1.4.1_02/xwork/build.xml:43: Compile failed; see the compiler error 
output for details.

+ Samuel G. Mota
+ [EMAIL PROTECTED]
+ 55 (11) 4417 7093
+ Business Application Dpt.
+ Netset Serviços em Tecnologia
+ a Hypercom Company
+ http://www.hypercom.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to