错误解决
iteye_14207
这个作者很懒,什么都没留下…
展开
-
数据源问题
1.出现:javax.naming.NoInitialContextException: [color=red]Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.fact...原创 2011-12-30 11:13:26 · 151 阅读 · 0 评论 -
Apache无法启动解决 the requested operation has failed
apache启动报错:the requested operation has failed遇到原因:如果apache的配置文件httpd.conf搞错了,在windows里启动它,会提示the requested operation has failed,可以用命令行模式启动apache,并带上参数,apache会提示你哪句有误,然后就可以针对性的解决。 检查错误方法:进入cm...原创 2013-05-23 15:46:40 · 583 阅读 · 0 评论 -
Null value was assigned to a property of primitive type setter of com.entity……
错误提示:[color=red][b]Null value was assigned to a property of primitive type setter of com.entity.hs.HSNotice……[/b][/color]解决办法:Hibernate中配置的对象,所有的属性类型必须是对象类型。如:[code="java"]@Column(name="id...原创 2015-09-25 15:44:06 · 566 阅读 · 0 评论 -
android.app.Application
android运行时报错错误:java.lang.ClassCastException: android.app.Application你是否有这类代码:[code="java"]public class MyApp extends Application {……}[/code]在activity类中你调用了MyApp myApp=(MyApp) getApplicat...原创 2013-02-27 13:51:22 · 702 阅读 · 0 评论 -
android.os.NetworkOnMainThreadException
android程序运行报错:错误:android.os.NetworkOnMainThreadException程序我先用4.0写的,模拟器也是4.0的运行时报错,我查了一些资料发现在onCreate方法中写上:[code="java"]// 详见StrictMode文档 // 版本2.3.3以上 StrictMode.setThreadP...原创 2013-02-27 14:12:57 · 126 阅读 · 0 评论 -
Listener refused the connection with the following error
发生错误情况:登陆死活登陆不上,说密码错误,可是密码又没错tomcat下log日志报错如下:Listener refused the connection with the following error:ORA-12519, TNS:no appropriate service handler foundThe Connection descriptor used by th...原创 2013-03-07 12:46:11 · 348 阅读 · 0 评论