[問題] 看不懂的 Error訊息

看板Eclipse作者 (喔 手滑了)時間15年前 (2009/09/11 02:00), 編輯推噓1(105)
留言6則, 3人參與, 最新討論串1/1
Could not create the view: Version mismatch: jar version is '19', native libary version is '21' 以上是我想要show出一個Canvas的錯誤訊息 大概懂是版本啥不符 可是不知道怎處理~"~ 以下是其他的訊息 java.lang.LinkageError: Version mismatch: jar version is '19', native libary version is '21' at org.lwjgl.Sys.<clinit>(Sys.java:103) at org.lwjgl.opengl.GLContext.<clinit>(GLContext.java:111) at com.jmex.swt.lwjgl.LWJGLSWTCanvas.init(LWJGLSWTCanvas.java:200) at com.jmex.swt.lwjgl.LWJGLSWTCanvas.setImplementor(LWJGLSWTCanvas.java:181) at org.monklypse.core.JMEComposite.initializeJMEComponents(JMEComposite.java:72) at org.monklypse.core.JMEComposite.<init>(JMEComposite.java:64) at org.gide.Demoapp.Views.View3d.createPartControl(View3d.java:45) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568) at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:968) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2593) at org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWindow.java:2873) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2854) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:759) at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1029) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1363) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:178) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251) at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1358) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2314) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.gide.Demoapp.Application.start(Application.java:20) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) 請原諒我 有點洗畫面 >"< 這問題困擾我好久了 T_T 解決不了 畢不了業阿.... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.195.170

09/11 10:46, , 1F
dll 跟 jar 不一致!?
09/11 10:46, 1F

09/13 03:24, , 2F
什麼意思?
09/13 03:24, 2F

09/13 21:23, , 3F
project裡可能有參考不同版本的jar檔?
09/13 21:23, 3F

09/13 21:24, , 4F
若有請在project properties > Order and Export 改jar檔順序
09/13 21:24, 4F

09/13 21:32, , 5F
前文提到 兩個專案 是透過Build Path引用還是檔案複製的方式?
09/13 21:32, 5F

09/13 21:36, , 6F
是project的properties > Java Build Path > Order and Export
09/13 21:36, 6F
文章代碼(AID): #1AgJxONu (Eclipse)
文章代碼(AID): #1AgJxONu (Eclipse)