sun.jkernel.DownloadManager.getBootClassPathEntryForClass(Unknown Source)异常处理
检查web.xml配置文件的拼写,这个异常的出现就是因为配置文件里的拼写有错误,(定位于-class位置)
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/crud,J2EEApplication=none,J2EEServer=none2010-7-8 10:33:18 org.apache.catalina.startup.HostConfig deployDirectory严重: Error deploying web application directory crudjava.lang.NullPointerExceptionat sun.jkernel.DownloadManager.getBootClassPathEntryForClass(Unknown Source)at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:84)at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:57)at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)at org.apache.catalina.core.StandardContext.start(StandardContext.java:4239)at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)at org.apache.catalina.core.StandardService.start(StandardService.java:516)at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)at org.apache.catalina.startup.Catalina.start(Catalina.java:566)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.lang.reflect.Method.invoke(Unknown Source)at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
?