Last edited: 15-Oct-11 09:04 PM
iamunknown · Oct 15, 2011 11:02 AM · 14,014 views
Where is the Stacktrace? Can you post?
fuckeetow · Oct 15, 2011 11:36 AM
thanks for the reply but what is stacktrace? i havent been taught about that. do i need one for this code?
iamunknown · Oct 15, 2011 11:52 AM
The error message that you receive when you program fails.
fuckeetow · Oct 15, 2011 12:05 PM
Are you talking about this? Exception in thread "main" java.lang.Error: Unresolved compilation problems: Team cannot be resolved to a type Team cannot be resolved to a type Input3 cannot be resolved to a type Input3 cannot be resolved to a type Input3 cannot be resolved to a variable Team cannot be resolved to a type Team cannot be resolved to a type Player cannot be resolved to a type Player cannot be resolved to a type Input3 cannot be resolved to a variable Player cannot be resolved to a type Player cannot be resolved to a type at PlayerTeamsTest.main(PlayerTeamsTest.java:6)
iamunknown · Oct 15, 2011 12:16 PM
I dont see a constructor for class Player.
EastSidaz · Oct 15, 2011 3:22 PM
Unknown bro, your code runs perfectly. few curly braces were missing in your copied code. What IDE are you using? if you are using command line, try compiling all files separately. Also if you are using eclipse, try refreshing the project as well ( elcipse had bug , dunno if they fixed it). Andif your classes are in different packages, try importing the packages OR provide the full path of the classes including package like com.unknown.packagename.Player p= new com.unknown.packagename.Player(); your code gave me this output: ( copied and pasted) Team : Team#3 KNICKS Mike Sweetney Allan Houston Howard Eisley Kurt Thomas Shanon Anderson +++++++++++++++++++++++++++++++++=
default061 · Oct 15, 2011 3:26 PM
good job man!! your code works....not even a tiny prob....lemme know if you still have a prob..i can export and send the package to you !
Maila_Baa · Oct 15, 2011 3:49 PM
thanks everyone.. I am using eclipse. as default said, it is still giving the same error. what are yall using for java? i am new to java so I dont know a lot about these things? mailaba, can you send it to me?
iamunknown · Oct 15, 2011 5:22 PM
sajha is not letting me upload the zipped file...make a fake gmail id and i ll mail it to u!
Maila_Baa · Oct 15, 2011 6:51 PM
iamunknown54321@gmail.com Last edited: 15-Oct-11 07:10 PM Last edited: 15-Oct-11 07:13 PM
iamunknown · Oct 15, 2011 7:09 PM
iamunknown54321@gmail.com
iamunknown · Oct 15, 2011 7:14 PM
http://solutionslog.blogspot.c...
fuckeetow · Oct 15, 2011 8:07 PM
thanks everyone. you guys are awesome. its working now.
iamunknown · Oct 15, 2011 9:05 PM
This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.
Start a New Discussion