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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:42:41+00:00 2026-05-27T15:42:41+00:00

This is driving me absolutely crazy. I have a package that was working fine,

  • 0

This is driving me absolutely crazy. I have a package that was working fine, then I renamed the package and now I cannot use System.out (or anything in the System class). For what it’s worth here is my Main class (I’ve removed EVERYTHING except the System.out line just in case something else was causing the issue).

package goldminetosugarconvertor;

public class Main
{
    public static void main(String[] args)
    {
        System.out.println("prog init");
    }
}

In NetBeans the out in System.out.println is underlined with an error "cannot find symbol" but the weird thing is it shows the location as “class goldminetosugarconvertor.System” which is obviously wrong.

Any bright ideas? I am guessing that something got broken when I renamed the package but I just can’t figure out what would break so bad that System was not recognised.

  • 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-27T15:42:41+00:00Added an answer on May 27, 2026 at 3:42 pm

    You must have a System class in the package goldminetosugarconvertor. When you changed whatever the old package Main was apart of to this one, you’ve now shadowed System from java.lang with goldminetosugarconvertor.System.

    Unless you remove this System class, you’ll have to prepend System.out with java.lang., ie:

    java.lang.System.out.println("prog init");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is absolutely driving me crazy. I have the Droid X 2.3.3. For some
This one is driving me absolutely insane, especially because I have a suspicion that
This is driving me crazy and I'm shocked that official documentation is absolutely useles.
This is driving me crazy right now. I cannot get a simple router to
This is driving me absolutely insane. I know that, to change the formatting of
This is driving me crazy. I have a very simple user control: public int?
This has been driving me absolutely nuts. I have a substitute function like this:
This is driving me crazy. I have this one php file on a test
This bug is driving me absolutely crazy. I'm trying to filter a number of
This is driving me insane. I have a JS file that is: Ext.onReady(function(){ Ext.QuickTips.init();

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.