【发布时间】:2014-05-04 22:55:57
【问题描述】:
我正在尝试添加到 weblogic.xml 文件 <cookie-secure> 标签:
<wls:session-descriptor>
<wls:timeout-secs>1800</wls:timeout-secs>
<wls:cookie-path>/my-web</wls:cookie-path>
<wls:cookie-http-only>false</wls:cookie-http-only>
<wls:url-rewriting-enabled>false</wls:url-rewriting-enabled>
<wls:sharing-enabled>true</wls:sharing-enabled>
<wls:invalidate-on-relogin>true</wls:invalidate-on-relogin>
<wls:cookie-secure>true</wls:cookie-secure>
</wls:session-descriptor>
但是出现错误:
cvc-complex-type.2.4.d: Invalid content was found starting with element 'wls:cookie-secure'. No child element is expected at this point
如何解决这个问题?
【问题讨论】:
-
您是否尝试过更改订单?你也看过类似的错误:stackoverflow.com/questions/14556050/…stackoverflow.com/questions/12893675/…
-
非常感谢您的回复。确实问题是有序的
-
很高兴我能帮上忙。如果你愿意,你可以“接受”你自己的答案。
标签: java xml weblogic jsessionid