Compiling custom code with Picketbox as dependency gives build errors

Solution Verified - Updated -

Issue

  • Compiling custom login module using vault feature from picketbox gives build warnings
  • (org/jboss/security/PicketBoxMessages.class): warning: Cannot find annotation method 'projectCode()' in type 'MessageBundle': class file for org.jboss.logging.MessageBundle not found
  • (org/jboss/security/PicketBoxMessages.class): warning: Cannot find annotation method 'id()' in type 'Message'
  • (org/jboss/security/PicketBoxMessages.class): warning: Cannot find annotation method 'value()' in type 'Message'

Environment

  • Compiling custom code with picketbox depdency

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