| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 737 人关注过本帖
标题:服务器添加项目报错.
只看楼主 加入收藏
tangkou
Rank: 1
等 级:新手上路
帖 子:55
专家分:7
注 册:2010-7-28
结帖率:57.14%
收藏
已结贴  问题点数:10 回复次数:2 
服务器添加项目报错.
程序代码:
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:578)
    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:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-08-17 10:52:14,258 ERROR [uk.ltd.getahead.dwr.impl.DefaultCreatorManager] - <Error loading class for creator 'SpringCreator[ZWTypeLibBean]'.>
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.ziwu.basedata.ZWBasedataExplorController] for bean with name 'BasedataExplorController' defined in class path resource [SysConfig-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.ziwu.basedata.ZWBasedataExplorController
Caused by:
java.lang.ClassNotFoundException: com.ziwu.basedata.ZWBasedataExplorController
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:177)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:317)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1008)
    at org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1036)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:165)
    at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:689)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:395)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
    at uk.ltd.getahead.dwr.create.SpringCreator.getBeanFactory(SpringCreator.java:166)
    at uk.ltd.getahead.dwr.create.SpringCreator.getInstance(SpringCreator.java:131)
    at uk.ltd.getahead.dwr.create.SpringCreator.getType(SpringCreator.java:104)
    at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:146)
    at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:128)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadCreate(DefaultConfiguration.java:255)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadAllows(DefaultConfiguration.java:196)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.addConfig(DefaultConfiguration.java:90)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.addConfig(DefaultConfiguration.java:66)
    at uk.ltd.getahead.dwr.AbstractDWRServlet.readFile(AbstractDWRServlet.java:188)
    at uk.ltd.getahead.dwr.DWRServlet.configure(DWRServlet.java:107)
    at uk.ltd.getahead.dwr.AbstractDWRServlet.init(AbstractDWRServlet.java:119)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
    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:926)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    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:578)
    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:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-08-17 10:52:14,274 ERROR [uk.ltd.getahead.dwr.impl.DefaultCreatorManager] - <Error loading class for creator 'SpringCreator[UserManagerTree]'.>
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.ziwu.basedata.ZWBasedataExplorController] for bean with name 'BasedataExplorController' defined in class path resource [SysConfig-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.ziwu.basedata.ZWBasedataExplorController
Caused by:
java.lang.ClassNotFoundException: com.ziwu.basedata.ZWBasedataExplorController
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:177)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:317)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1008)
    at org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1036)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:165)
    at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:689)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:395)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
    at uk.ltd.getahead.dwr.create.SpringCreator.getBeanFactory(SpringCreator.java:166)
    at uk.ltd.getahead.dwr.create.SpringCreator.getInstance(SpringCreator.java:131)
    at uk.ltd.getahead.dwr.create.SpringCreator.getType(SpringCreator.java:104)
    at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:146)
    at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:128)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadCreate(DefaultConfiguration.java:255)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadAllows(DefaultConfiguration.java:196)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.addConfig(DefaultConfiguration.java:90)
    at uk.ltd.getahead.dwr.impl.DefaultConfiguration.addConfig(DefaultConfiguration.java:66)
    at uk.ltd.getahead.dwr.AbstractDWRServlet.readFile(AbstractDWRServlet.java:188)
    at uk.ltd.getahead.dwr.DWRServlet.configure(DWRServlet.java:107)
    at uk.ltd.getahead.dwr.AbstractDWRServlet.init(AbstractDWRServlet.java:119)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
    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:926)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    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:578)
    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:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


好长好长 我看着吓着了,新手 有高手帮我看看 怎么解决啊.....

             我去网上查了,。。没查到结果...
搜索更多相关主题的帖子: 服务器 项目 
2010-08-17 11:01
shellingford
Rank: 9Rank: 9Rank: 9
等 级:贵宾
威 望:19
帖 子:228
专家分:1348
注 册:2010-8-9
收藏
得分:5 
ClassNotFoundException
没有找到类
web项目需要把用到的jar包全部放入WEB-INF/lib/目录下,不然tomcat找不到需要的类
2010-08-17 11:33
syg5434
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:山沟沟
等 级:版主
威 望:10
帖 子:285
专家分:781
注 册:2010-2-28
收藏
得分:5 
应该就是驱动的问题,把驱动(jar文件)文件到lib下应该就没有问题了,
确实够长的...
不过其它地方不用看,要看的就是有err或者Exception的那几行

不要迷恋哥,嫂子会揍你。阿-弥-陀-佛--!
2010-08-17 12:09
快速回复:服务器添加项目报错.
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018689 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved