Getting feilds in place of enum properties through jar.
Hello
I am faced a very strange problem in my code.I made a serializable class,a few public fields in it and a public enum.
Now i pack the class in a jar and deploy it.When i try to access the properties of the enum,i get the feilds!!
Can anyone please help me find the reason to it?
Thanks and Regards
Mansi
MansiSachar wrote:
Hello kajbj
Altgough i have been trying to keep my query explanatory enuf but even then , if you want me to explain it more i wud do that......
My class file is like :
public class MyClass {
public enum MyEnum {
VALUE1
public String VALUE2= "AnyValue";
}Now wen i try with :
MyClass.MyEnum.
to access VALUE1,I am getting VALUE2 in its option not VALUE1.
Hope you clear with the problem this time!No, you still haven't described how you validate that you are getting the wrong number. You did in your previous reply only say that eclipse is showing you wrong, nothing else. Where does it display the wrong value? When does it display the wrong value? What does you classpath look like? Do you still have the source files on the class path.
You have left out almost everything that is relevant.
Similar Messages
-
My wife and i have an iPhone 5 6.1.2 firmware.. We both are having horrible wifi signals. We have done everything we can.. What update will fix this? I get full bars on my iPad 2 through my whole house.. Be standing right beside the router with iPhones and it cuts in and out.. Drops from 3 wifi bars to 1
I am having the same problem with brand new Ipad Mini at my house.
It connects to the WiFi fine - but will not pull an IP address in DHCP mode, or if I set all the IP info statically - it still will not get any network access.
This doesn't look like a WiFi issue, as it does connect and is seen by the WiFi Access Point. All the normal WiFi fix stuff doesn't help.
- Using a Dlink DAP-2553 which is less than 2 months old.
Other devices connect fine, including Ipad 2.
This same Mini worked fine at another house and also connected to a mobile hotspot fine....so seems to be some weird IP issue with maybe this Access Point or maybe the older Router that I have (older Netgear)?
I am actually a network engineer and still have not been able to find a solution. Both the Ipad Mini and the Dlink WAP have the latest firmware loaded.
Wondering if anyone has found a solution to this problem. -
I have been able to get my MacBook Pro to print wirelessly through my Airport device. How do I make it so other computers (non-Mac) can also print wirelessly as well? They are able to connect through my wireless network but can't print.
Well, you could install the drivers to the wireless printer in you other computers.
blue apple > System Preferences... > sharing
check printer sharing. -
I have transferred all of my itunes music for my old pc to a new laptop via an external hard drive. All songs are sucessfullt loaded in itunes and I can drag songs to my husband's ipod without any problems. However, when I try to drag songs to my iphone 4, it will not let me. I get a red circle with a line through it. Why would it work from itunes to ipod but not to my iphone? HELP!!!
You might want to check your process for moving your iTunes music against this: http://support.apple.com/kb/HT4527.
-
Can't add music my iPhone from iTunes.
When I try to drag a song over to my phone, I get the circle w/ the syncing line through it, but it does not update/load.
[Manually manage music and videos] is checked. And, this is the only Mac I have ever used to add music to my phone.
Also, just updated the phone's software today, and iTunes' software is already up to date.Hi Gregg,
Have you tried resetting the device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the Home screen redisplays, see if your Music app is behaving normally.
Cheers,
GB -
How do I get 2 decimal places when using a formula for a quotient? It only gives me whole integers. Most of the results will be less than 1 so I need 2 decimal places
the quotient function returns only whole number portion of the dividing two numbers. If you want the actual decimal value use the divide operator. you enter this as:
A/B
if the numerator is in A1 and the denominator is in B1 you can enter the formula like this:
=A1/B1 -
How do you get iPhone 5 to connect to iMac through bluetooth?
How do you get iPhone 5 to connect to iMac through bluetooth?
I know the basic steps, but all I get is pairing unsuccessful. I'm using an older bluetooth, would that make a difference? I got connected once with a Motorola bluetooth, but can't reconnect. TIA!Try the Bluetooth Troubleshooting steps here:
http://support.apple.com/kb/TS2756
Note that you need to have Personal Hotspot set up with your carrier and on your iPhone before you can connect the computer.
Regards. -
I deleted my music through the "manage storage" section in the options to make room for the ios update awhile back. Now I can't get any music back onto my device through itunes. (I've tried restoring the device twice to no avail)
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
Hi Guys does anyone know of a way i can get cyclops speed camera alert to work through bluetooth incar hands free kit , i used to be able to connect it via an app called drivesafely but this app is no longer available in apple store ????????????
I think the easiest way to do this is to have the EyeTV app running in one user account and sent via HDMI to the TV, and use a separate user account for Screen Sharing. Both logins can be active at the same time and with Lion you can connect via screen sharing to which ever login you need.
With regards to the Mac video resolution changing, when it is not the current input on your AV receiver. This is 'normal', if the Mac sees no signal it drops down the a lower level. What you need is to buy a HDMI Detective Plus which tricks the Mac in to always seeing a signal and hence it will not drop down the resolution. See http://www.gefen.com/kvm/dproduct.jsp?prod_id=8005
The Mac mini does have an IR receiver. This can be used with the EyeTV app, iTunes, and similar. Yes I believe EyeTV would run for prolonged periods quite happily, it is has been around for a long time and had most of the rough edges polished off. However one issue you will have to deal with is that it does not automatically update its program guide data. For this you might have to write or modify an AppleScript. Elgato support or their user forums will be a lot of help.
You can set EyeTV to convert recordings to an iTunes (Apple TV) compatible format and then delete them from EyeTV.
The HDMI Detective should solve your handshaking problems. -
hi i've just signed up for lightroom and when i go into the develop screen i get a blue screen with a cross through it and it says cant load picture. any idea how to get around this?
I'm having same problem in develop module which is laggy as hell compared to LR5.8
Library module is fine but develop module is slow as hell....5 seconds to make ANY adjustment. -
IPhoto 11 (9.1.5 version) Program works fine has been doing so for a year. Never used "Places" feature before. Now when I try it the screen freezes in the "get info" mode. I see a yellow sticky type deal with "To Get Started wtih Place" and some choices. Behind the sticky is a geyed out map. I can't do anything. It seems at this point I should be able to put a pin on the map or something. In preferences I have checked "look up places automaticaly" Any ideas?
I tried what you suggest. It is at the point where I have pushed the "info" button. The side panel comes up then there is an item "assign place" I push that and then I get the frozen screen and the yellow sticky. I think it goes way back to when I moved to this compuer. As I remember iphoto had some trouble with the photo library. I don't remember how, but finally the photos showed up in the program and all worked well ...I thought.
Anyway, thanks for your efforts.
Phil -
How can i get into my iphone without activating it through itunes id
How can I get into my iPhone without activating it through itunes id
If the iPhone has Find My iPhone activation lock enabled then you will not be able to activate the iPhone without entering the correct Apple ID and password it is locked to. Sorry but there is no way to bypass this.
-
I can not set up a firewall for my computer. I can get to the place I'm supposed to get to but am unable to click start.
If the Start Firewall button is grey (inactive) check to see if the pad lock is "locked" in the lower left corner of the screen. If so, click it and enter the Administrator password to unlock it. Then you can start the firewall.
Hope this helps. -
why is my macbook air getting so hot, fan running, and burning through the battery fast?
I have started to experience my computer getting really hot also. Since one month back in time it has started to get raging hot (up to 99 degrees celsius) just by surfing the internet. Sometimes it stays that hot but most of the time the temperature gets lower after about 15 minutes..
this has never happend before and i am starting to get worried..
what is the problem and is there a sollution?? -
why my macbook air getting so hot, fan running, and burning through the battery fast?
are you playing intense games on your Air?
If so, that would be the reason
More details necessary for evaluation, please
Maybe you are looking for
-
Insert/Delete a page in LiveCycle Designer disabled
I am working with an 8 page form and am trying to delete the last page on the file, however when I try the 'Delete Page' option is disabled or 'greyed out'. I am using Adobe LiveCycle Designer 8.05.2... and created the form in LiveCycle. It also won'
-
How do you cancel a pre order of a album
i have pre ordered a album and a song was released today and it won't download so i was thinking of cancelling the pre order and just buying the song. help ?
-
Sorry if this question has been asked before! I'm using a MacBook and I'm having trouble opening files that are in .exe format. I do have MacLinkPlus but this program doesn't seem to be able to convert the file. Is there another way that I can open .
-
Did a fresh Solman 4 SR3 install. Completed the post install config. Cannot activate OSS connection yet due to firewall rules. Two issues: 1) when doing the Part II config wizard step, an error occurs and the config step terminates. Nothing in the sy
-
Hi friends, can any one send the commom errors in unicode conversion project?