运行我的 eclipse 插件时出现以下错误。Eclipse 使用 4.12 和 java11。它曾经在 eclipse 4.6.3 + java8 中工作正常。
javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory cannot be found by com.my.cep.studio.cluster.topology_0.0.0]
!ENTRY com.my.cep.diagramming 4 0 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:289)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
at com.my.cep.studio.cluster.topology.editors.ClusterTopologyDiagramManager.parseFile(ClusterTopologyDiagramManager.java:193)
at com.my.cep.studio.cluster.topology.editors.ClusterTopologyDiagramManager.openModel(ClusterTopologyDiagramManager.java:175)
at com.my.cep.diagramming.drawing.BaseDiagramManager.createDrawingCanvas(BaseDiagramManager.java:233)
at com.my.cep.diagramming.drawing.DiagramManager$2.run(DiagramManager.java:259)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory cannot …Run Code Online (Sandbox Code Playgroud) 我正试图在eclipse中创建一个简单的插件.当我运行应用程序时,我在日志文件中看到此错误:
org.osgi.framework.BundleException:bundle org.xy的bundle org.xyActivator的激活器无效.
你对这个错误有任何想法吗?
我刚刚在我的新笔记本电脑上安装并打开了Eclipse,而插件安装程序没有可用的更新站点.我该如何解决这个问题,或者什么是默认的更新站点?
我想开发HTML5网站.我已经安装了Java for Android开发.我的机器上安装了Eclipse Classic 3.6.现在我希望在同一台机器上安装Java EE.可能吗?如果是这样,请告诉我如何将Eclipse Classic 3.6升级到Java EE开发环境.
目标:我正在尝试在Windows 7 64位上安装Simics Tools for Eclipse插件.
我正在使用Eclipse Indigo for Java(64位< - 这将是一个问题),刚刚安装了C/C++ IDE插件,GEF draw2d插件和Eclipse的Simics工具.成功完成这些插件的安装后,我重新启动了Eclipse并继续从Eclipse内部启动Simics Control.错误对话框表明此插件无法在64位Eclipse上运行.
为了解决这个问题,我决定在我当前的设置旁边安装一个32位版本的Eclipse,并从Eclipse卸载我刚刚安装的插件(C/C++,GEF和Simics).首先,我打算删除插件以避免浪费空间.我转到Help-> About-> Installation Details并选择要卸载的已安装插件.在重新启动Eclipse之前,删除插件似乎是成功的.
删除插件后,当Eclipse启动时,会出现启动画面,底部没有进度条以显示当前正在加载的内容.几秒钟后,启动画面消失,并显示错误对话框:发生错误.请参阅日志文件C:\ Program Files(x86)\ eclipse\configuration\1322503657546.log
内容1322503657546.log:
!SESSION 2011-11-28 12:07:37.255 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product
!ENTRY org.eclipse.osgi 4 0 2011-11-28 12:07:39.521
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "" could not be found in the registry. The applications …Run Code Online (Sandbox Code Playgroud) 我正在寻找一个用于gradle的eclipse ide集成.我从http://www.breskeby.com/downloads/gradle/eclipse/update/安装了gradle编辑器
但这远远不是我对ide整合的期望.它仅提供一些语法突出显示.没有自动完成,错误标记,任务列表等.
eclipse有没有真正的ide集成?
我正在Eclipse中开发Android应用程序.
目前,eclipse抱怨:
"Project has no project.properties file! Edit the project properties to set one."
但我的项目根文件夹下有 project.properties文件.为什么抱怨?
此问题导致几个资源R.java无法在Activity中解析.如何摆脱这个问题?
eclipse android eclipse-plugin android-intent android-layout
我从Eclipse获得了一个来自SVN的新Java项目,并且只是试图在Eclipse的Project Explorer窗口中打开该项目并收到此错误:
从插件调用代码时出现问题:
"org.eclipse.jface".
我怎么能解决这个问题?
异常堆栈跟踪:
java.lang.NullPointerException
at org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer.getClasspathEntries(EJB3ClasspathContainer.java:115)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2695)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2853)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1958)
at org.eclipse.jdt.internal.core.PackageFragmentRoot.getRawClasspathEntry(PackageFragmentRoot.java:547)
at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.isExcluded(ClasspathModifier.java:485)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.IncludeToBuildpathAction.canHandle(IncludeToBuildpathAction.java:170)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.BuildpathModifierAction.selectionChanged(BuildpathModifierAction.java:101)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:478)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4875)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052)
at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2528)
at …Run Code Online (Sandbox Code Playgroud) eclipse ×10
eclipse-plugin ×10
java ×4
android ×1
eclipse-rcp ×1
gradle ×1
ide ×1
integration ×1
java-11 ×1
java-ee ×1
macos ×1
osgi ×1
osgi-bundle ×1
svn ×1