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 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.