JDOMParseException :must be terminated by ...

最近在修整基于SwiXml的程序。出错了,呵呵,有些生疏了。

org.jdom.input.JDOMParseException: Error on line 195: The element type "panel" must be terminated by the matching end-tag "</panel>".



也就是说元素 panel结束形式不正确,必须匹配</panel>!

呵呵,看看相关代码:


<panel name="issuingPanel" id="issuingPanel" layout="GridBagLayout" background="3399CC" Visible="false">
<label name="l6" text="发证环节" Foreground="white">
<gridbagconstraints id="cons_issuing" insets="2,2,2,2" gridx="0" gridy="0" ipadx="10" ipady="10" weightx="1" weighty="1"/>
</label>
<label name="lissuingTime" text="发证时限" >
<gridbagconstraints refid="cons_issuing" gridx="4" gridy="0" />
</label>
<textfield id="issuingTime" Text="0.0" columns="20" >
<gridbagconstraints gridx="5" gridy="0" />
</textfield>
</panel>

</panel>


明白了,在修整时去了相应的<panel>元素,但是结束标志没有清理完,多个一个</panel>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值