Topic: servlet监听器问题?

  Print this page

1.servlet监听器问题? Copy to clipboard
Posted by: sy0300014460
Posted on: 2005-11-11 13:11

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)


   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