|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello everyone,
I was attempting to clean and build our robot code in Netbeans, but it failed to build and gave me an error on this line: "package org.usfirst.frc4621.4621Rev1_1;". I am no strager to Java, so I double-checked it for errors and found none. One of my team members said that he had seen a discussion about the problem and how to fix it here on Chief Delphi but I searched and was unable to find any mention of it here. Can anyone give me some help? Thanks!! |
|
#2
|
||||
|
||||
|
Re: NetBeans Java code compile problems
Can we have a full error message or better description of the problem if you can?
It sounds like you either have your project configured incorrectly or the package is misspelled in the class file? |
|
#3
|
||||
|
||||
|
Re: NetBeans Java code compile problems
Quote:
You can't have part of a package name start with a number, it must start with a letter or underscore. Just refactor/rename your package to start the bolded part of your package name to not start with a number. Last edited by Johnbot : 18-01-2013 at 16:59. |
|
#4
|
||||
|
||||
|
Re: NetBeans Java code compile problems
Thanks for seeing that ^^^ didn't even consider that.
|
|
#5
|
|||
|
|||
|
Re: NetBeans Java code compile problems
Quote:
Quote:
I apoligize for not being more informative in my reply, but I did not want to flood the post with information and make it confusing. I am using the RobotBuilder application that generates Java code--though the line that caused the error code was not part of that generated code. Thanks to you guys helping me catch that minor error, my code cleaned perfectly--no errors. Thanks! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|