![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误
Tardis1
奋斗
展开
-
Only the original thread that created a view hierarchy can touch its views.
今天写的时候犯了个低级错误,就是在子线程更新了UI,如下,切记 class CatchTask extends TimerTask { public void run() { if(p!=null) { p.destroy(); } if(i { handleBit();//获取用户输入的字节数 cmd.setBit(defaultBit);//设置 p=cmd原创 2016-03-22 20:24:06 · 561 阅读 · 0 评论 -
Struts报没有找到org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
解决:重新下载新版的struts jar包 ,地址:http://download.csdn.net/detail/ahy1024/4626028原创 2017-03-07 22:30:23 · 1143 阅读 · 0 评论 -
Could not find action or result:There is no Action mapped for namespace / and action name
跟着Struts2+Spring3+Hibenate学习,里面搞错了 ,建立的struts.xml 应该是 struts2.xml 害的我搞了很久,这本书很不严谨!原创 2017-03-07 22:32:24 · 446 阅读 · 0 评论 -
安装Maven出错注意事项
最近在安装Maven那么简单的东西居然花了我那么久,报错两次: 1、ERROR: JAVA_HOME is set to an invalid directory. JAVA_HOME = D:/jdk1.5.0_15/bin; Please set the JAVA_HOME variable in your environment to match the location o原创 2017-03-14 21:02:30 · 733 阅读 · 0 评论 -
运行 Spark错误 A master URL must be set in your configuration
A master URL must be set in your configuration: 在linux上面run java写的代码的 时候,报错,应该增加如下部分: hadoop为master的别名原创 2017-08-27 23:24:29 · 949 阅读 · 0 评论 -
System memory 249364480 must be at least 471859200
我是在eclipse run遇到这个问题的,所以解决办法是来到这里加上: 表示运行的时候虚拟空间最小为128,最大为512原创 2017-08-27 23:31:58 · 1918 阅读 · 0 评论 -
解决Maven安装配置的java环境变量错误
用一次性解决的办法: 假设你的java的jdk安装目录为: E:\JAVA\bin进入maven安装目录:打开mvn这个文件, 把JAVA_HOME给固定死,这样就不会老是报莫名其妙的错,也不用管什么麻烦的配置了原创 2017-09-23 11:17:46 · 638 阅读 · 0 评论