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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.