这个问题的话建议您尝试打开finder(访达),按 shift command g,输入
~/library/containers/com.microsoft.powerpoint/data/library/preferences/autorecovery/
或者打开终端,输入
open ~/library/containers/com.microsoft.powerpoint/data/library/preferences/autorecovery/
然后删除里面的文件即可,
希望以上信息能够帮助到您。
ignore those warnings. tomcat is doing its job right. the actual bug is in someone else's code (the jdbc driver in question), not in yours. be happy that tomcat did its job properly and wait until the jdbc driver vendor get it fixed so that you can upgrade the driver. on the other hand, you aren't supposed to drop a jdbc driver in webapp's /web-inf/lib
, but only in server's /lib
. if you still keep it in webapp's /web-inf/lib
, then you should manually register and deregister it using a servletcontextlistener
.
忽略警告。把web-inf/lib下的mysql驱动文件拷贝到tomcat/lib下。如果仍然要放在web-inf/lib下,需要使用监听器手动的注册和注销。
下面的文章介绍如何写监听器,
downgrade to tomcat 6.0.23 or older so that you will not be bothered with those warnings. but it will silently keep leaking memory. not sure if that's good to know after all. those kind of memory leaks are one of the major causes behind during tomcat hotdeployments.
把tomcat降级到低版本(6.0.23以下),虽然不会报错,但是还是存在内存益出的问题,这并不是一个好的凯发天生赢家一触即发官网的解决方案。
move the jdbc driver to tomcat's /lib
folder and have a connection pooled datasource to manage the driver. note that tomcat's builtin dbcp does not deregister drivers properly on close. see also bug which is closed as wontfix. you would rather like to replace dbcp by another connection pool which is doing its job better then dbcp. for example, , or perhaps .
把驱动文件移到tomcat/lib文件夹下,不用使用dbcp,使用以下的连接池库,hikaricp, bonecp,或者tomcat jdbc pool.
if you are getting this message from a maven built war change the scope of the jdbc driver to provided, and put a copy of it in the lib directory. like this:<dependency>,
对于maven项目,由于tomcat中存在mysql驱动文件(1中介绍),这样在部署时就不会把mysql带到打包文件里,注意是
导出表:
mysqldump dbname `cat tables.txt`>> dump_file.sql
批量删除表:
mysql -nb information_schema -e "select table_name from tables where table_name like 'sys_%'" | xargs -i"{}" mysql dbname -e "drop table {}"