2009-2-28 2:05:45 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@223c66: defining beans [dataSource,sessionFactory,transactionManager,baseTxProxy,typeinfoDao,brandingDao,productinfoDao,typeinfoProxy,brandingProxy,productinfoProxy,/typeinfo,userinfoDao,userinfoProxy,/login,typebrandingDao,typebrandingProxy,/branding,unitinfoDao,unitinfoProxy,/productinfo,accountDao,accountProxy,/account]; root of factory hierarchy
2009-2-28 2:05:45 org.springframework.web.context.ContextLoader initWebApplicationContext
严重: Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.officesystem.typeinfo.dao.impl.TypeinfoDaoImpl] for bean with name 'typeinfoDao' defined in ServletContext resource [/WEB-INF/spring-config/applicationContext-account.xml]; nested exception is java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.officesystem.typeinfo.dao.impl.TypeinfoDaoImpl'
Caused by: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.officesystem.typeinfo.dao.impl.TypeinfoDaoImpl'
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:201)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:130)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:321)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1058)
at org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1086)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:173)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:736)
at 

解决方案 »

  1.   

    这个是你spring的配置文件在初始化报错。
    java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.officesystem.typeinfo.dao.impl.TypeinfoDaoImpl' 
    重编译在发布下。
      

  2.   

    这个不是Weblogic问题。。Cannot find class [com.officesystem.typeinfo.dao.impl.TypeinfoDaoImpl] for bean with name 'typeinfoDao' defined in ServletContext resource [/WEB-INF/spring-config/applicationContext-account.xml]; 找找配置文件里面的错误。。还有就是,有时候tomcat上面能跑起来的项目weblogic不一定能跑起来,所以建议楼主先去了解一下weblogic的特性,我现在也在学这个应用服务器。。一起努力吧。。
      

  3.   

    配置文件没错阿,,,有错,,,TOMCAT也启动不了阿,,
    我知道weblogic的验证比较严格,,,不知道是哪里写法有问题