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)