条形码打印及预览异常
706次浏览
编辑于2016年03月10日 14:55:04
EAS7.5开启固定资产条形码功能,设计了条形码打印模板后,点击打印或者预览,出现如下报错
具体报错信息:
错误信息:Could not initialize class com.jacob.activeX.ActiveXComponent
错误详细堆栈信息:java.lang.NoClassDefFoundError: Could not initialize class com.jacob.activeX.ActiveXComponent
at: com.kingdee.eas.rt.common.FaBarcodePrinter.printBarcode(FaBarcodePrinter.java:683)
at: com.kingdee.eas.fi.fa.manage.client.FaBarcodePrintModeSetUI.actionPrintPreview_actionPerformed(FaBarcodePrintModeSetUI.java:105)
at: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at: java.lang.reflect.Method.invoke(Method.java:597)
at: com.kingdee.bos.ui.face.ItemAction.reflectPerformAction(ItemAction.java:438)
at: com.kingdee.bos.ui.face.ItemAction.innerActionPerformed(ItemAction.java:396)
at: com.kingdee.eas.fi.fa.manage.client.AbstractFaBarcodePrintModeSetUI$ActionPrintPreview.actionPerformed(AbstractFaBarcodePrintModeSetUI.java:573)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformedInvoke(ActionProxy.java:174)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformed(ActionProxy.java:102)
at: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at: java.awt.Component.processMouseEvent(Component.java:6288)
at: javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at: com.kingdee.bos.ctrl.swing.KDButton.processMouseEvent(KDButton.java:131)
at: java.awt.Component.processEvent(Component.java:6053)
at: java.awt.Container.processEvent(Container.java:2041)
at: java.awt.Component.dispatchEventImpl(Component.java:4651)
at: java.awt.Container.dispatchEventImpl(Container.java:2099)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at: java.awt.Container.dispatchEventImpl(Container.java:2085)
at: java.awt.Window.dispatchEventImpl(Window.java:2478)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at: java.awt.EventQueue.access$000(EventQueue.java:84)
at: java.awt.EventQueue$1.run(EventQueue.java:602)
at: java.awt.EventQueue$1.run(EventQueue.java:600)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at: java.awt.EventQueue$2.run(EventQueue.java:616)
at: java.awt.EventQueue$2.run(EventQueue.java:614)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at: com.kingdee.bos.invokecounter.RPCLogEventQueue.dispatchEvent(RPCLogEventQueue.java:176)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at: java.awt.Dialog$1.run(Dialog.java:1046)
at: java.awt.Dialog$3.run(Dialog.java:1098)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.awt.Dialog.show(Dialog.java:1096)
at: com.kingdee.bos.ctrl.swing.KDDialog.show(KDDialog.java:186)
at: com.kingdee.eas.base.uiframe.client.UIModelDialog.show(UIModelDialog.java:120)
at: com.kingdee.eas.fi.fa.manage.client.FaCurCardListUI.actionPrintBarCode_actionPerformed(FaCurCardListUI.java:1608)
at: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at: java.lang.reflect.Method.invoke(Method.java:597)
at: com.kingdee.bos.ui.face.ItemAction.reflectPerformAction(ItemAction.java:438)
at: com.kingdee.bos.ui.face.ItemAction.innerActionPerformed(ItemAction.java:396)
at: com.kingdee.eas.fi.fa.manage.client.AbstractFaCurCardListUI$ActionPrintBarCode.actionPerformed(AbstractFaCurCardListUI.java:2421)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformedInvoke(ActionProxy.java:174)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformed(ActionProxy.java:102)
at: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at: javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at: javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at: javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at: java.awt.Component.processMouseEvent(Component.java:6288)
at: javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at: java.awt.Component.processEvent(Component.java:6053)
at: java.awt.Container.processEvent(Container.java:2041)
at: java.awt.Component.dispatchEventImpl(Component.java:4651)
at: java.awt.Container.dispatchEventImpl(Container.java:2099)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at: java.awt.Container.dispatchEventImpl(Container.java:2085)
at: java.awt.Window.dispatchEventImpl(Window.java:2478)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at: java.awt.EventQueue.access$000(EventQueue.java:84)
at: java.awt.EventQueue$1.run(EventQueue.java:602)
at: java.awt.EventQueue$1.run(EventQueue.java:600)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at: java.awt.EventQueue$2.run(EventQueue.java:616)
at: java.awt.EventQueue$2.run(EventQueue.java:614)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at: com.kingdee.bos.invokecounter.RPCLogEventQueue.dispatchEvent(RPCLogEventQueue.java:176)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at: java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
推荐阅读