I have a Button Component on my Stage.
When I go to compile I get the following error.
1000(Ambiguous reference to Button)
Cant seem to find what is wrong here.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You probably have more than one class with the name
Buttonin your library or in your classpath. The compiler doesn’t know which one you want to use and hence the error. Sometimes it helps to provide the full package name like this:But it’s hard to tell if you’re not providing some more code.