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 6029677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:55:19+00:00 2026-05-23T04:55:19+00:00

I have created a project in NetBeans by downloading some third party jars of

  • 0

I have created a project in NetBeans by downloading some third party jars of Bouncy castle, which provides some java cryptography API’s. I have also downloaded the souce code and put them under the src folder as per package name. However a few java files which I have in my project are showing in red with errors. here is one such as —

getparams() in org.bouncycastle.jce.provider.JCEECPrivateKey cannot implement 
               getParams() in rg.bouncycastle.jce.interfaces.ECKey
found : java.security.spec.ECParameterSpec
required: rg.bouncycastle.jce.ECParameterSpec

But the strange part is that when I actually compile the code from NetBeans , compilation is successful and the final jar file got created. However, the compilation says the following :

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

My questions are : Why is the compilation going through even though some files seem to have errors? Can I ignore these as benign?

How to compile with -Xlint in NetBeans because I am compiling by clicking in the project and Clean and Build option.

  • 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-05-23T04:55:20+00:00Added an answer on May 23, 2026 at 4:55 am

    It looks like you have a naming conflict. You probably have

    import java.security.spec.*;
    import rg.bouncycastle.jce.*;
    

    but both packages define ECParameterSpec.
    If that is your problem, you can either define your variable type explicitly with rg.bountycaslte.jce.ECParameterSpec myvar = ... or you can add an import statement import rg.bouncycastle.jce.ECParameterSpec; to specify which one you really want.

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

Sidebar

Related Questions

I have a Java Desktop Application project created with NetBeans. The icon that is
I have a question. I created a new project with netbeans and have main.java
I have easily created a JSF project with NetBeans that delivers a web service
I have created several files with unit tests on existing classes in NetBeans project.
Has anyone successfully created a NetBeans project that combines Clojure and Java source? I
I had a Java project in Netbeans IDE, which I had to move to
I have a Java project which includes the Xerces library. When I process the
I have just created a NetBeans project with JSF 2.0 and I have a
I am using NetBeans IDE and have created a new project. The new project
I have a Netbeans GUI Project created with all the auto-generated content. On the

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.