不要在心情糟糕的时候写代码,能坑死自己. 今天码代码的时候出现一个问题,脾气暴躁到砸桌子, 在Mybatis传入参数为String并且用 if test 判断的过程中发现 <if test="dwsh != null and dwsh != ''"> </if> 时会报 : There is no getter for property named 'dwsh' in 'class java.lang.String' 的错误 在一顿折腾之后发现 这个错误出现的地…
string.xml问题代码 <string name="msg">书名:%s\n价格:%d</string> 异常信息 Error:(949) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?Error:(949) Unexpected end tag stringEr…