Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Servlet/JSP/JSF/JavaFX Script  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to postflat modethreaded modego to previous topicgo to next topicgo to back
作者 servlet监听器问题?
sy0300014460





发贴: 11
于 2005-11-11 13:11 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
servlet监听器问题?
帮帮忙,有谁知道下面的提示是怎么回事:

java.lang.reflect.InvocationTargetException at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:324) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

Caused by: java.util.MissingResourceException:

Can't find bundle for base name org.apache.naming.resources.LocalStrings, locale zh_CN at

java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773) at java.util.ResourceBundle.getBundle(ResourceBundle.java:511) at

org.apache.naming.StringManager.<init>(StringManager.java:67) at org.apache.naming.StringManager.getManager(StringManager.java:212) at org.apache.naming.resources.BaseDirContext.<init>(BaseDirContext.java:91) at org.apache.naming.resources.FileDirContext.<init>(FileDirContext.java:69) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4131) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
... 6 more

好像是缺少相应的类文件,我把 naming-resources.jar 加到软件中,提示依旧,请问这是怎么回事呀。

还有就是在servlet2.4开发中 toLocaleString() 这个方法已经不能使用,请问用什么方法来代替它,谢谢!!

我把该实例上传上来,请大家帮忙调试一下,有劳大家了,多谢!!

servlet_adv.rar (99.58k)




Hibernate的优点

话题树型展开
人气 标题 作者 字数 发贴时间
1315 servlet监听器问题? sy0300014460 1917 2005-11-11 13:11

reply to postflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923