小编mic*_*nio的帖子

weblogic 12c部署失败

我正在从Weblogic 11g迁移到12c,在部署过程中它失败并显示以下错误:

Caused by: weblogic.application.naming.ReferenceResolutionException: [J2EE:160199]Error resolving ejb-ref "ejb/BizRuleFacade" from module "BizAgi-ejb.jar" of application "BizAgi-ear-Weblogic". The ejb-ref does not have an ejb-link and the JNDI name of the target bean has not been specified. Attempts to automatically link the ejb-ref to its target bean failed because multiple EJBs in the application were found to implement the "BizAgi.bpm.rules.entities.BizRuleFacade" interface, including BizAgi-war.war/BizRuleFacadeBean, BizAgi-ejb.jar/BizRuleFacadeBean. Specify a qualified ejb-link for this ejb-ref to indicate which EJB is the target of this ejb-ref.

我的web.xml文件如下所示:

<ejb-local-ref> …

java deployment weblogic descriptor java-ee

5
推荐指数
1
解决办法
1万
查看次数

如何在 SQL Server 中获取今天的第一个小时?

我需要获取今天的日期,但我需要的是日期的第一个时间,而不是当前时间。

错误的方法:

'4/7/2017 4:50:13 PM' 
Run Code Online (Sandbox Code Playgroud)

getdate()作为函数的结果

正确的方法:

'4/7/2017 00:00:00 AM'
Run Code Online (Sandbox Code Playgroud)

感谢您的帮助

sql sql-server datetime date

2
推荐指数
1
解决办法
2123
查看次数

标签 统计

date ×1

datetime ×1

deployment ×1

descriptor ×1

java ×1

java-ee ×1

sql ×1

sql-server ×1

weblogic ×1