weblogic部署项目的时候报错 求教高手

wxdfire 2012-07-17 05:01:29
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] .


...全文
286 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
wxdfire 2012-07-17
  • 打赏
  • 举报
回复
[Quote=引用 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 ……
[/Quote]这个路径 确实没错 项目已经是在正式运行中的 我只是把代码拷贝下来 在本机运行
五哥 2012-07-17
  • 打赏
  • 举报
回复
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 没找到 ,仔细检查一下类结构

wxdfire 2012-07-17
  • 打赏
  • 举报
回复
里面说[com.zkjc.file.dao.hibernate.PublicFileDAO] not found; 但是这个类确实在呢

81,114

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧