在GUI里面用ActiveX建立一个"Microsoft Office SpreadSheet 11.0",当我检查这个控件的属性(Property Inspector)时会出现一长串的错误:查了很久也不知道该怎么解决,看上去似乎是Matlab的问题。有人曾经遇到这样的问题吗?
------------- 错误信息 ----------------------
The definition for Interface_Microsoft_Windows_Common_Controls_6_0_(SP6)_IToolbarBeanAdapter0 in the JAR file
has a format error.
java.lang.ClassNotFoundException: Interface_Microsoft_Windows_Common_Controls_6_0_(SP6)_IToolbarBeanAdapter0
at com.mathworks.util.jarloader.SimpleClassLoader.loadClass(SimpleClassLoader.java:250)
at com.mathworks.util.jarloader.SimpleClassLoader.loadClass(SimpleClassLoader.java:216)
at com.mathworks.jmi.bean.UDDBeanClass.createClassFromBytes(UDDBeanClass.java:208)
at com.mathworks.jmi.bean.UDDBeanClass.createUDDBeanClass(UDDBeanClass.java:984)
at com.mathworks.jmi.bean.UDDObject.directGetPropertyFromMatlab(Native Method)
at com.mathworks.jmi.bean.UDDObject.get_from_Matlab(UDDObject.java:448)
at com.mathworks.jmi.bean.UDDObject.get_Object_value(UDDObject.java:1237)
at COM_OWC10_Spreadsheet_10BeanAdapter0.getToolbar(COM_OWC10_Spreadsheet_10BeanAdapter0.java)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mathworks.ide.inspector.PropertyTarget.getPropertyValue(PropertyTarget.java:895)
at com.mathworks.ide.inspector.PropertyTarget.getMultiValue(PropertyTarget.java:914)
at com.mathworks.ide.inspector.PropertyTarget.refreshValues(PropertyTarget.java:500)
at com.mathworks.ide.inspector.PropertyTarget.buildPropertyList(PropertyTarget.java:472)
at com.mathworks.ide.inspector.PropertyTarget.<init>(PropertyTarget.java:372)
at com.mathworks.ide.inspector.PropertyTarget.<init>(PropertyTarget.java:389)
at com.mathworks.ide.inspector.PropertyViewList.populate(PropertyViewList.java:610)
at com.mathworks.ide.inspector.PropertyViewList.updateObjects(PropertyViewList.java:1132)
at com.mathworks.ide.inspector.PropertyViewList.updateObjectsFromMatlab(PropertyViewList.java:1172)
at com.mathworks.ide.inspector.PropertyViewList.access$100(PropertyViewList.java:257)
at com.mathworks.ide.inspector.PropertyViewList$UpdateObjectsFromMatlab.run(PropertyViewList.java:1164)
at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:250)
magic: cafebabe
minor_version: 3
major_version: 45
。。。。。
还有很多错误信息就不一一列出来了。