日期:2014-05-20  浏览次数:20868 次

请教个JBuilder2006 配置问题 解决后马上散分 在线等
出错信息如下   :
2007-1-18   8:39:08   org.apache.catalina.realm.JAASRealm   setContainer
信息:   Set   JAAS   app   name   Catalina
2007-1-18   8:39:08   org.apache.catalina.core.StandardContext   filterStart
严重:   Exception   starting   filter   BalancerFilter
java.lang.ClassNotFoundException:   org.apache.webapp.balancer.BalancerFilter
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
at   org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211)
at   org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at   org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java:79)
at   org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3540)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4110)
at   org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at   org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at   org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at   org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
at   org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
at   org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
at   org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at   org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at   org.apache.catalina.core.StandardService.start(StandardService.java:450)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:537)
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:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2007-1-18   8:39:08   org.apache.catalina.core.StandardContext   start
严重:   Error   filterStart
2007-1-18   8:39:08   org.apache.catalina.core.StandardContext   start
严重:   Context   [/balancer]   startup   failed   due   to   previous   errors
2007-1-18   8:39:08   org.apache.coyote.http11.Http11Protocol   start

问题:org.apache.webapp.balancer.BalancerFilter   是哪个类的?
我把balancer.jar的包   拷贝到tomcat和工程目录下   都没用   该怎么解决?



------解决方案--------------------
你在JBUILDER下开发的话
把JAR包加到工程的CLASSPATH里~
工程--> 右键properties--> paths--> requierd Library--> 加入这个JAR包
如果再找不到,说明org.apache.webapp.balancer.BalancerFilter 不在balancer.jar内