How do you define, or perhaps redefine the library sets?
I am using WebLogic 8.1sp3 as my AS, and I keep running into problems where I get ClassNotFound errors because the library set that MyEclipse, by default chose to use, has JBoss JAR files listed in it.
I include WebLogic’s weblogic.jar file in every project I work on, which seems to have almost everything I need, but it conflicts with the set in the default J2EE 1.4 library set. For example, my app uses a configuration class that implements NotificationBroadcaster. Whenever I try to run a test harness in Eclipse, I get java.lang.NoClassDefFoundError: org/jboss/mx/notification/ListenerRegistry, because the J2EE 1.4 Library set doesn’t contain the complete set of JARs to implement that; weblogic.jar, however, does.
I understand that weblogic.jar is probably proprietary, but it took me most of a day to track down this conflict, and that MyEclipse by default, was including that set of JAR files.
Is there some way to redefine that library set? Or better still, detect what AS you have chosen and change/warn you?