WARN log message "WFLYWELD0052: Using deployment classloader to load proxy classes for <module>. Package-private access will not work" happens in JBoss EAP 7

Solution Unverified - Updated -

Issue

The following WARN log message happens in JBoss EAP 7:

WARN  [org.jboss.as.weld] (Weld Thread Pool -- 1) WFLYWELD0052: Using deployment classloader to load proxy classes for module org.example.module:main. Package-private access will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.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