weblogic 部署出错 纠结了好久了 求教大神
状态:在此页中,您可以查看与此任务相关的状态信息。
描述: [Deployer:149026]Deploy application WebContent on myserver.
此任务的说明。
状态: Deploy Failed
此任务的状态。
开始时间: Mon Apr 23 07:38:23 GMT 2012
启动此任务的时间。
结束时间: Mon Apr 23 07:38:29 GMT 2012
完成此任务的时间。
异常: 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]
详细信息:
在此页中,您可以查看在执行此任务的过程中出现的异常的详细信息。
异常:
weblogic.management.DeploymentException:
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]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2441)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2255)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2150)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2402)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:884)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:592)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:501)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
无异常消息
--------------------编程问答-------------------- 自己顶一个 求教大神 --------------------编程问答-------------------- 提示信息很清楚啊!
nested exception is java.lang.ClassNotFoundException: com.zkjc.file.dao.hibernate.PublicFileDAO
找找你的包里面有没有这个类 --------------------编程问答-------------------- 有这个类呢 --------------------编程问答-------------------- 你的applicationContext.xml中是如何声明com.zkjc.file.dao.hibernate.PublicFileDAO这个class的? --------------------编程问答-------------------- <bean id="fileDAO"
class="com.zkjc.file.dao.hibernate.PublicFileDAO">
<property name="hibernateTemplate">
<ref local="hibernateTemplate1" />
</property> --------------------编程问答--------------------
1、你這個fileDAO在哪個service調用了?
2、試試將com.zkjc.file.dao.hibernate.PublicFileDAO改為
com.zkjc.file.dao.PublicFileDAO --------------------编程问答-------------------- 怎么看这个dao在那个service被调用啊 --------------------编程问答--------------------
1、你用什麽技術?ssh?
2、如果你是標准的三層架構的話,應該會有dao層,service層,controller層的,dao肯定在service層被調用。你去看看代易做图。 --------------------编程问答--------------------
看看 fileDAO 有没有被谁引用过
补充:Java , Web 开发