Results 1 to 4 of 4
- 04-09-2012, 09:41 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 2
- Rep Power
- 0
cannot be resolved or is not a field
Hello i am trying to convert a Script, and i am getting the error cannot be resolved or is not a field. How do i generally fix these types of errors in java?
Eclipse is underlining Ve, hc, TF, Hb, we, vd, ed, and ta.Java Code:private final int[][] Cf = { a.Ve, a.hc, a.TF, a.Hb, a.wE, a.vd, a.ED, a.TA };
Multiple markers at this line
- hc cannot be resolved or is not a
field
- wE cannot be resolved or is not a
field
- Cannot reference a field before it is
defined
- Cannot reference a field before it is
defined
- Cannot reference a field before it is
defined
- ED cannot be resolved or is not a
field
- Cannot reference a field before it is
defined
- TA cannot be resolved or is not a
field
- Cannot reference a field before it is
defined
- Ve cannot be resolved or is not a
field
- TF cannot be resolved or is not a
field
- Cannot reference a field before it is
defined
- Hb cannot be resolved or is not a
field
- Cannot reference a field before it is
defined
- vd cannot be resolved or is not a
field
- Cannot reference a field before it is
defined
The option it gives me for a fix is Rename in File. I tried just deleting the line of code but then it gives me more errors throughout the script
- 04-09-2012, 09:51 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,604
- Rep Power
- 5
Re: cannot be resolved or is not a field
You should provide more information than that. What is 'a'? Do you wish to define a 2d array (the right side of the definition must be a 2D array)?
Recommendation: you should use more meaningful variable names as opposed to obfuscated letters of the alphabet.
- 04-09-2012, 10:14 PM #3
Member
- Join Date
- Apr 2012
- Posts
- 2
- Rep Power
- 0
Re: cannot be resolved or is not a field
here is the code on pastebin if you want more information to look over it
[Java] iDungeon Pro Rarebot - Pastebin.com
-
Re: cannot be resolved or is not a field
Is that de-compiled code? It is huge and difficult to understand. If it were me, I'd contact the code authors for clarification and better code perhaps.
Similar Threads
-
adding field with tokenStream Field(name, tokenStream, termVector) constructor
By gadek.a in forum LuceneReplies: 0Last Post: 07-22-2011, 12:47 PM -
HttpServletRequest cannot be resolved-- Help me
By hphuoc in forum Java ServletReplies: 1Last Post: 04-26-2011, 09:23 AM -
front end display of field description when clicking the field name
By neils in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 10-29-2010, 11:47 AM -
Help with bcc field and cc field in java code
By eel in forum NetworkingReplies: 1Last Post: 10-25-2010, 12:20 PM -
how from an Access Currency field I populate a hidden field
By lse123 in forum Java ServletReplies: 4Last Post: 01-17-2010, 11:13 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks