Community
Participate
Working Groups
Easy repro class: package com.bea.example; import weblogic.management.mbeanservers.runtime.RuntimeServiceMBean; public class JMXClient { public static void main(String[] args) { System.out.println(RuntimeServiceMBean.OBJECT_NAME); } } The editor is giving an error stating "The import weblogic.management.mbeanservers.runtime.RuntimeServiceMBean cannot be resolved" when I absolutely know for fact that this class exists within the the weblogic.jar file which has been added to the libraries as an external jar file. The code actually compiles and executes just fine, only the editor shows an error acting as though it cannot find this class definition (interestingly enough, the package explorer and other components don't show this error like they normally do). The weblogic.jar file I am using is from the latest release of BEA WebLogic Server 9.0 available at http://commerce.bea.com/index.jsp for public download. The weblogic.jar file is extremely large (~75M). If I extract out only the few interface class I'm using in my project and add these libraries as an external jar in a tiny file it works fine. Please let me know if you need any assistance at all repro this problem. eclipse.buildId=I20050627-1435 os.arch=x86 os.name=Windows XP os.version=5.1 java.runtime.version=1.5.0_02-b09 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.5 java.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi java.version=1.5.0_02 java.vm.info=mixed mode java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Sun Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun Microsystems Inc. java.vm.version=1.5.0_02-b09 TIA
Clarification, it doesn't appear to have anything to do with accessing the public static final member of the interface class as it seems it simply cannot find the class defintion of the interface itself.
Frederic - pls try to reproduce with latest.
Cannot reproduce using 3.2 M6