1 C3P0 数据库连接池,hibernate默认使用它,相关的有DPCP2 JNDI 数据源MySqlDSjdbc:mysql://localhost:3306/lwcom.mysql.jdbc.Driverrootrootpasswordorg.jboss.resource.adapter.jd...
分类:
其他好文 时间:
2014-07-25 02:22:14
阅读次数:
218
android.content.res.Resources$NotFoundException: Resource ID #0x**********问题“解决办法:把AndroidManifest.xml里面的版本修改一下(如果原来没有指定,就添加一下),问题就可以解决了原因:原来的那个工程占用现在...
分类:
移动开发 时间:
2014-07-24 14:40:45
阅读次数:
231
今天遇到@Resource和@Autowired同时使用,@Resource必须放到最前面,否则注入失败 @Resource
private?QRTicketService?qrTicketService;
private?OrderService?orderService;
private?WeixinApiServic...
分类:
其他好文 时间:
2014-07-23 00:35:28
阅读次数:
182
CGI has maybe the worst lift cycle possible.As designed, each request to a CGI resource creates a new process on the server andpasses information to.....
分类:
Web程序 时间:
2014-07-22 09:06:07
阅读次数:
330
??
----查看缺省profile 中 密码相关的参数配置信息
SQL> SELECT profile,resource_type,resource_name,limit FROM dba_profiles WHERE resource_type='PASSWORD' AND profile='DEFAULT';
PROFILE RES...
分类:
数据库 时间:
2014-07-22 00:11:33
阅读次数:
299
主要由两种方法:
1、不把图片放在res/drawable下,而是存放在src某个package中(如:com.drawable.resource),这种情况下的调用方法为:String path = "com/drawable/resource/imageName.png";
InputStream is = getClassLoader().getResourceAsStream(pat...
分类:
移动开发 时间:
2014-07-21 22:36:08
阅读次数:
252
错误一: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring.xml]; nested exception is java.lang.NoClassDefFou...
分类:
其他好文 时间:
2014-07-21 10:17:14
阅读次数:
212
URL编码总结
URL是Universal Resource Locator的简称,翻译过来那就是统一资源定位符,好吧,我们经常会俗称为网页地址。一个URL的格式通常是这样的:
协议类型://服务器地址(必要时需加上端口号)/路径/文件名?参数,比如http://zh.wikipedia.org:80/w/index.php?title=Special,协议是HTTP,服务...
分类:
其他好文 时间:
2014-07-20 23:05:29
阅读次数:
299
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'DeskClock'.
java.lang.NullPointerException
delete the project and import it again....
分类:
移动开发 时间:
2014-07-19 08:12:28
阅读次数:
208
var newFragment = new mybacklogF (); var ft = FragmentManager.BeginTransaction (); ft.Replace (Resource.Id.main_FragmentCont...
分类:
其他好文 时间:
2014-07-19 00:08:19
阅读次数:
210