相关疑难解决方法(0)

WELD-001519为抽象类'xxx'创建了一个InjectionTarget实现.不可能生成这种类型的实例

我正在以下环境中运行应用程序.

  • GlassFish Server 4.0
  • Mojarra 2.2.4
  • PrimeFaces 4.0决赛
  • PrimeFaces Extension 1.1.0
  • OmniFaces 1.6.3

添加OmniFaces后,服务器终端上会显示以下警告.

WARNING:   WELD-001519 An InjectionTarget implementation is created for an abstract class org.omnifaces.eventlistener.DefaultServletContextListener. It will not be possible to produce instances of this type!    
WARNING:   WELD-001519 An InjectionTarget implementation is created for an abstract class org.omnifaces.filter.HttpFilter. It will not be possible to produce instances of this type!

//WARNING:   Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
//WARNING:   Class 'javax.ejb.PrePassivate' not found, interception based on …
Run Code Online (Sandbox Code Playgroud)

jsf glassfish cdi omnifaces weld

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

标签 统计

cdi ×1

glassfish ×1

jsf ×1

omnifaces ×1

weld ×1