Mybatis运行发生异常: Cause: java.sql.SQLException: ORA-00911: 无效字符
原因是:你的sql多了一个";" 去掉就可以了~
<select id="getCount" resultType="int">
select count(1) from table_ip;
</select>
解决方法:去掉“;”
<select id="getCount" resultType="int">
select count(1) from table_ip
</select>