Exception:weblogic.management.ApplicationException: start() failed. Module: WebContent Error: weblogic.management.DeploymentException: Error registering bean with name 'fileDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean class [com.zkjc.file.dao.hibernate.PublicFileDAO] not found; nested exception is java.lang.ClassNotFoundException: com.zkjc.file.dao.hibernate.PublicFileDAO - with nested exception: [java.lang.ClassNotFoundException: com.zkjc.file.dao.hibernate.PublicFileDAO] [Deployer:149033]preparing application WebContent on myserver
[Deployer:149033]prepared application WebContent on myserver
[Deployer:149033]activating application WebContent on myserver
[Deployer:149033]failed application WebContent on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application WebContent on myserver.: Exception:weblogic.management.ApplicationException: start() failed. Module: WebContent Error: weblogic.management.DeploymentException: Error registering bean with name 'fileDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean class [com.zkjc.file.dao.hibernate.PublicFileDAO] not found; nested exception is java.lang.ClassNotFoundException: com.zkjc.file.dao.hibernate.PublicFileDAO - with nested exception: [java.lang.ClassNotFoundException: com.zkjc.file.dao.hibernate.PublicFileDAO] . 

解决方案 »

  1.   

    里面说[com.zkjc.file.dao.hibernate.PublicFileDAO] not found;  但是这个类确实在呢
      

  2.   

    Error registering bean with name 'fileDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean class [com.zkjc.file.dao.hibernate.PublicFileDAO] not found; nested exception is java.lang.ClassNotFoundException: com.zkjc.file.dao.hibernate.PublicFileDAO com.zkjc.file.dao.hibernate.PublicFileDAO 没找到 ,仔细检查一下类结构