最近在用maven整合SSH做个人主页时候,在eclipse里面使用tomcat7插件发布项目是没有问题的,但当打包成war之后,使用tomcat7单独发布项目,就出现了以下的错误. 严重: Context [/wangxin] startup failed due to previous erro... ...
分类:
移动开发 时间:
2017-08-17 00:40:35
阅读次数:
478
主要是bundle 这个參数 參考地址:http://blog.csdn.net/lonelyroamer/article/details/18715975 学习Activity的生命周期,我们知道,当Activity进入到paused或者stopped状态后,这个Activity的状态仍然保存着。 ...
分类:
移动开发 时间:
2017-08-15 13:25:19
阅读次数:
148
环境:一个tomcat ,一个工程配置了多数据源,在启动的时候报如下错误: 解决方法:在多数据源配置的时候,只配置一个在启动的时候进行初始化,其他的不动,如下: 第二和第三数据源只保留最基础的url 、username、password 三个配置即可! ...
分类:
移动开发 时间:
2017-08-14 16:28:47
阅读次数:
732
It has been said that a watch that is stopped keeps better time than one that loses 1 second per day. The one that is stopped reads the correct time t ...
分类:
其他好文 时间:
2017-07-29 17:38:56
阅读次数:
136
一、设置crond.service服务为开机自启动 步骤1:查看crond.serivce服务的自启动状态 此时crond.serivce的自启动状态为disabled 步骤2:开启crond.serivce服务自启动 此时crond.serivce的自启动状态为enabled 附:关闭crond. ...
分类:
其他好文 时间:
2017-07-29 16:47:23
阅读次数:
451
把进程放入后台执行 tar -zcf etc.tar.gz /etc &把进程放入后台暂停 在命令执行的过程中,按下ctrl+z 查看后台的命令 jobs[root@localhost temp]# jobs[1]+ Stopped top[2]- Done tar -zcf etc.tar.gz ...
分类:
系统相关 时间:
2017-07-22 21:14:06
阅读次数:
149
# java可执行文件位置 export JAVA_HOME=/data/jdk # 设置项目代码路径 export CODE_HOME="/data/webserver/cgi-startup-package" # 日志路径 export LOG_PATH="/data/webserver/log... ...
分类:
其他好文 时间:
2017-07-12 15:24:30
阅读次数:
217
不管是android还是iOS,列表视图应该是最复杂的控件了。android中的listview从命名能够看出是个一维数组,而iOS中的tableview则是二维数组。但事实上须要注意的地方是差点儿相同的。都是重用机制。这是考量你对listview是否能掌握的最好的方法。 常见的listview的初 ...
分类:
移动开发 时间:
2017-07-05 21:05:17
阅读次数:
225
It has been said that a watch that is stopped keeps better time than one that loses 1 second per day. The one that is stopped reads the correct time t ...
分类:
其他好文 时间:
2017-07-03 21:15:35
阅读次数:
230
先来看一下system()函数的简单介绍: system()函数调用/bin/sh来执行参数指定的命令,/bin/sh 一般是一个软连接,指向某个具体的shell,比如bash,-c选项是告诉shell从字符串command中读取命令; 在该command执行期间,SIGCHLD是被阻塞的,好比在说 ...
分类:
系统相关 时间:
2017-06-30 15:35:07
阅读次数:
231