This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am trying to run a Java class in a debug mode in the eclipse 3.3. But, it gives me illegalaccesserror which I am unable to solve. I have give stack trace for the same. I have jdk1.3 and jdk1.5 both installed in my system. My Tomcat uses 1.5, but I compile all the classes using 1.3. I thought it may be version difference problem and remove 1.5 completely and tried. I also tried not to duplicate the jars files in my project build path. But no use. Can anyone please tell me how to solve this?
java.lang.IllegalAccessError: try to access class com.intec.user.AbstractUserAccountCollection from class com.intec.stucosting.application.CostingUserAccount at com.intec.stucosting.application.CostingUserAccount.hashCode(CostingUserAccount.java:193) at com.intec.util.HashCodeHelper.hashObject(HashCodeHelper.java:94) at com.intec.user.access.AccessControlDefinition.hashCode(AccessControlDefinition.java:106) at java.util.HashMap.put(HashMap.java:327) at java.util.HashSet.add(HashSet.java:163)