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

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 ?

  • Opening .exe files

    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 .

  • Solman 4 SR3 MOPZ issue

    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

  • UNICODE CONVERSION urgent

    Hi friends, can any one send the commom errors in unicode conversion project?