|
这是编译出错信息。不知道如何修改?
compile:
[javac] Compiling 2 source files to /root/httpunit-1.6.2/build/classes
[javac] Found 2 semantic errors compiling "/root/httpunit-1.6.2/src/com/meterware/httpunit/FormControl.java":
[javac] 1076. private Options _container;
[javac] ^-----^
[javac] *** Semantic Error: The static type "com.meterware.httpunit.SelectionFormControl$Option" must use a qualified name to access the non-static member type "com.meterware.httpunit.SelectionFormControl$Options" of the enclosing type "com.meterware.httpunit.SelectionFormControl".
[javac] 1100. void setIndex( Options container, int index ) {
[javac] ^-----^
[javac] *** Semantic Error: The static type "com.meterware.httpunit.SelectionFormControl$Option" must use a qualified name to access the non-static member type "com.meterware.httpunit.SelectionFormControl$Options" of the enclosing type "com.meterware.httpunit.SelectionFormControl".
[javac] Found 2 semantic errors compiling "/root/httpunit-1.6.2/src/com/meterware/servletunit/WebApplication.java":
[javac] 823. private ServletConfiguration getConfiguration() {
[javac] ^------------------^
[javac] *** Semantic Error: The static type "com.meterware.servletunit.WebApplication$ServletRequestImpl" must use a qualified name to access the non-static member type "com.meterware.servletunit.WebApplication$ServletConfiguration" of the enclosing type "com.meterware.servletunit.WebApplication".
[javac] 824. return _mapping == null ? null : (ServletConfiguration) _mapping.getConfiguration();
[javac] ^------------------^
[javac] *** Semantic Error: The static type "com.meterware.servletunit.WebApplication$ServletRequestImpl" must use a qualified name to access the non-static member type "com.meterware.servletunit.WebApplication$ServletConfiguration" of the enclosing type "com.meterware.servletunit.WebApplication".
BUILD FAILED
/root/httpunit-1.6.2/build.xml:86: Compile failed; see the compiler error output for details. |
|