51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 3347|回复: 1
打印 上一主题 下一主题

在linux上编译httpunit总出错,希望版主帮帮忙。

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-7-19 16:19:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这是编译出错信息。不知道如何修改?
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.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2006-8-1 18:20:47 | 只看该作者
问题解决了。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-3 05:11 , Processed in 0.068110 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表