*善用build path和百度。
1.eclipse web项目
【1】The import android.support.v7.app cannot be resolved
https://blog.csdn.net/qq_40976321/article/details/78740294
【2】The type org.apache.http.Header cannot be resolved.
https://blog.csdn.net/androidfszl/article/details/50954571
(或许可以试试build path重新导入一下jre system。
你或许也可以看看关于jre的版本问题。)这个问题没怎么搞明白。
【3】com.mchange.v2.resourcepool.CannotAcquireResourceException
https://blog.csdn.net/iwuio/article/details/82084857
我记得我是数据库用户名和密码的配置问题。
【4】Invalid layout of java.lang.String at value
https://www.cnblogs.com/wangmars/p/3255044.html
2.android项目
【1】Unable to build: the file dx.jar was not loaded from the SDK folder
https://blog.csdn.net/qq_32224139/article/details/69525946?locationNum=12&fps=1
关于这个解决方法,除了复制jar包外,该链接评论里有人说:
- BinGeg11个月前
open project.properties file and add this line (sdk.buildtools=25.0.3) 翻译过来就是:打开project.properties,然后加上一行:sdk.buildtools=25.0.3。 完美解决问题,就是换个buildtools来编译项目咯
简单来说就是因为eclipse不太支持高版本的build tools,所以把低版本build tools里的dx.jar包复制到所用的版本里进行覆盖。
【2】Unable to execute dex: Multiple dex files define Landroid/support/v7/appcompat/R$anim;
https://blog.csdn.net/wds1181977/article/details/42421109?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
指的是导入了重复的包。
android要注意版本的问题。
3.my sql 数据导入
【1】mysql服务无法启动 服务没有报告任何错误
https://blog.csdn.net/shinny195/article/details/82319218?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
建议使用 --console查看自己的错误然后再解决
【2】[ERROR] [MY-010262] [Server] Can’t start server: Bind on TCP/IP port
https://blog.csdn.net/elaine0125/article/details/90296710
【3】Loading local data is disabled; this must be enabled on both the client and serve
https://stackoverflow.com/questions/59993844/error-loading-local-data-is-disabled-this-must-be-enabled-on-both-the-client
http://www.1024sky.cn/blog/article/895
解决方案就是根据第二个链接的内容,set 该变量为1;具体输入可以参考链接一的图中所示内容。
/---------------------------------------更新2020/3/7---------------
如果上述方法不行的话,在my.ini文件里添加
[mysqld]
local-infile =1
[mysql]
local-infile =1
------------------------------------更新线-2020/3/7----------/
【4】The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
https://blog.csdn.net/weixin_41013322/article/details/103532940?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
以管理员模式运行cmd,net stop mysql,关闭mysql服务;
在my.ini文件中添加
[mysqld]
secure-file-priv=
然后,以管理员模式运行cmd,net start mysql,重新打开mysql服务。