JBoss EAP6 shows WARN message JBAS016012 when beans.xml file is not present in webapp

Solution Unverified - Updated -

Issue

  • While deploying an application the following WARN message is observed in the JBoss EAP 6 console:
INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "CDIDemoApp.war" (runtime-name: "CDIDemoApp.war")

WARN  [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016012: Deployment deployment "CDIDemoApp.war" contains CDI annotations but beans.xml was not found.
  • How to avoid JBoss showing this WARN message.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content