Code giving error

My code for binary to decimal conversion is working in Netbeans IDE perfectly but giving errors in your IDE.

Hi Rishabh,
Share your code.

I have entered the code on my IDE. Are you able to view it?

I got my error. Asked a friend. I was using multiple Scanner objects which does not work in this IDE. Thank you.