@Component("userManager")
public class UserManagerImpl implements UserManager {
private UserDao userDao;
public UserDao getUserDao() {
return userDao;
}
@Resource
public void setUserDao(UserD...
分类:
编程语言 时间:
2014-07-18 17:00:29
阅读次数:
304
我们直接import项目的时候,因为有的git项目是没有.project和.classpath文件的,所以直接import已有项目肯定不行。
以下是解决方案:
1. new Android Project里面换一个选项create project from existing code
(new->project->Android / Android Project from Exis...
分类:
移动开发 时间:
2014-07-18 17:00:16
阅读次数:
222
I went through the EE445M and found it’s interesting since the goal of this class is to build a working RTOS. The first lec note mentioned how to make...
分类:
其他好文 时间:
2014-07-18 16:27:54
阅读次数:
175
When learning the usage of map collection in java, I found serveral beneficial methods that was encountered in the daily life. Now I made a summary:
import java.util.ArrayList;
import java.util.Col...
分类:
编程语言 时间:
2014-07-18 15:13:56
阅读次数:
242
在使用maven开发web项目极大地方便了jar包的依赖,在测试时也可以集成Servlet容器,从启动速度和量级上看,Jetty无疑是不二选择,然而从8.x开始,如果你的web项目中不包含数据库访问(或者说没有事务管理器)的话,在其启动时会提示找不到事务管理器,而且启动过程会暂停十几秒,在反复调试代码时很浪费时间,经过多天在网上搜索资料,终于找到了解决办法。...
分类:
其他好文 时间:
2014-07-18 15:13:41
阅读次数:
206
# pacman -S apache-ant参考:http://blog.csdn.net/linshutao/article/details/6638116
分类:
其他好文 时间:
2014-07-18 14:35:23
阅读次数:
241
即使resource_limit = false, password的 资源限制也会生效...
分类:
其他好文 时间:
2014-07-18 14:09:03
阅读次数:
185
用Eclispe进行Debug时一直被一个问题所困扰:Source not found.
问题产生的原因是调试进入了一个没有源码的jar包里。
简短说明:
Edit Source Lookup Path… 可以解决Debug过程中找不到源码的问题,PS,需要重启服务。
Configure Build Path 中可以给jarattach上源码,这个管的是阅读代码时可以看到jar包里的...
分类:
系统相关 时间:
2014-07-18 12:23:39
阅读次数:
337
假设一个应用抛出大量的Classnot found信息,一般你会怀疑包冲突。但是tomcat的webappclassloader却有这种问题:假设一个应用公布出现故障, webappclassloader的started属性被设为false.然后其他线程假设继续使用webappclassloader...
分类:
移动开发 时间:
2014-07-18 09:22:56
阅读次数:
190
scheme://login:password@address:port/path/to/resource?query_string#fragmentscheme:协议名称//:层级URL标记符号login@password:访问资源需要的凭证address:获取数据的服务器port:连接的端口号/...
分类:
其他好文 时间:
2014-07-17 17:34:11
阅读次数:
279