Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8705335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:20:08+00:00 2026-06-13T03:20:08+00:00

I am getting warning warning: [unchecked] unchecked call to add(E) as a member of

  • 0

I am getting warning

warning: [unchecked] unchecked call to add(E) as a member of the 
raw type java.util.List
    [javac]      listbox.getChildren().add(listaMenu); 

where listaMenu is declared as

UISelectItems listaMenu = new UISelectItems();

and listbox is declared as

HtmlSelectOneListbox listbox = new HtmlSelectOneListbox();

How can I get rid of this warning message when I compile using ant build tasks?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:20:10+00:00Added an answer on June 13, 2026 at 3:20 am

    Either get a new version of the Faces API implementation you’re using (one that supports generics), or put @SuppressWarnings("unchecked") just before the start of the function (right before where public or private would go).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting this warning while compling my code (with -Xlint options): receptor.java:286: warning: [unchecked]
I am getting the following warning from my Java code: Lexer.java:591: warning: [unchecked] unchecked
I'm getting a Type safety: Unchecked cast from Object to ArrayList warning on the
When I am running this program I am getting warning array subscript has type
How can I implement the ContactService interface without getting warning about unchecked conversions from
I am getting a warning about unchecked unsafe operations. I am not quite sure
I keep getting 'warning: control reaches end of non-void function' with this code: -
I'm using set_cookie() on a site. After adding some functionality, I'm getting Warning: Cannot
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using
The warning I'm getting is: Warning: mysqli_result::fetch_array() expects parameter 1 to be long, object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.