javax.ejb.EJBException:EJB Exception大家帮忙啊 急急急!!!!!!!!!!!!

aninei 2011-07-04 05:01:35

weblogic10.3 +EJB3.0
当我登录页面保存数据的时候会出现如下错误:


Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can'tfind the
bean definition about class interface javax.sql.DataSource; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException:
No unique bean of type [javax.sql.DataSource] is defined: No beans of type javax.sql.DataSource; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext:
display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext;hashCode=24617534];
startup date [Mon Jul 04 09:09:06 CST 2011]; child of
[com.bea.core.repackaged.springframework.context.support.GenericApplicationContext: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext;hashCode=23894412];
startup date [Mon Jul 04 09:09:06 CST 2011]; child of [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext:
display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext;hashCode=23812156];
startup date [Mon Jul 04 09:09:05 CST 2011]; root of context hierarchy]]
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:105)
... 26 more


求救命啊。。

还有weblogic 的local JNDI name 怎么配置

求大侠
...全文
3221 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
回头是俺 2014-02-16
  • 打赏
  • 举报
回复
沉了。。。。。。
aninei 2011-07-05
  • 打赏
  • 举报
回复
怎么没有人;理呢。。

不要沉 。。。。。。。。。
aninei 2011-07-04
  • 打赏
  • 举报
回复

这是完整的。。

啊啊啊

18:56:59,281 ERROR [BaseCommand]
java.lang.reflect.InvocationTargetException
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:597)
at com.staffware.frameworks.web.command.BaseCommand.runCommand(BaseCommand.java:166)
at com.staffware.frameworks.web.command.GenericCommand.execute(GenericCommand.java:49)
at com.staffware.frameworks.web.servlet.ControllerServlet.handleRequest(ControllerServlet.java:236)
at com.staffware.frameworks.web.servlet.ControllerServlet.doPost(ControllerServlet.java:195)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.staffware.frameworks.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:58)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't
find the bean definition about class interface javax.sql.DataSource; nested exception is com.bea.core.repackaged.spring
framework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.sql.DataSource] is defined: No bean
s of type javax.sql.DataSource; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext:
display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext;hashCode=13374845]; sta
rtup date [Mon Jul 04 19:49:07 CST 2011]; child of [com.bea.core.repackaged.springframework.context.support.GenericAppli
cationContext: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext;hashCode=
2626807]; startup date [Mon Jul 04 19:49:07 CST 2011]; child of [com.bea.core.repackaged.springframework.context.support
.GenericApplicationContext: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationCont
ext;hashCode=12650800]; startup date [Mon Jul 04 19:49:07 CST 2011]; root of context hierarchy]]
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:10
5)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:87)
at $Proxy107.createDtoEx(Unknown Source)
... 25 more
aninei 2011-07-04
  • 打赏
  • 举报
回复
啊 我自己给自己顶把~

求救命啊~·

1,237

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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