去除Kaptcha方法得到验证码的干扰线 添加如下语句即可: properties.setProperty("kaptcha.noise.impl","com.google.code.kaptcha.impl.NoNoise");