英文:
SAP Web Ide throwing errors when starting on mac
问题
SAP Web IDE在启动时出现错误
你好,我正在尝试在Mac上设置SAP Web IDE,但在本地环境中一直出现错误:
!ENTRY com.sap.webide.orionplugin 4 0 2023-03-07 08:49:11.762
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.sap.webide.orionplugin [13]
Unresolved requirement: Require-Bundle: com.sap.webide.orionplugin.reverseproxy
-> Bundle-SymbolicName: com.sap.webide.orionplugin.reverseproxy; bundle-version="1.53.9"; singleton:="true"
com.sap.webide.orionplugin.reverseproxy [14]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread run(EventManager.java:340)
!ENTRY com.sap.webide.orionplugin.reverseproxy 4 0 2023-03-07 08:49:11.776
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.sap.webide.orionplugin.reverseproxy [14]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr EventManager$EventThread run(EventManager.java:340)
我已经安装了Java 7版本,并且我的JAVA_HOME环境变量也指向Java 7。如何解决这些错误?
我已更新Java home以指向Java 7。
英文:
SAP Web IDE throwing errors on startup
Hello, I'm trying to setup SAP Web IDE on mac and I keep getting errors in my local like:
!ENTRY com.sap.webide.orionplugin 4 0 2023-03-07 08:49:11.762
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.sap.webide.orionplugin [13]
Unresolved requirement: Require-Bundle: com.sap.webide.orionplugin.reverseproxy
-> Bundle-SymbolicName: com.sap.webide.orionplugin.reverseproxy; bundle-version="1.53.9"; singleton:="true"
com.sap.webide.orionplugin.reverseproxy [14]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY com.sap.webide.orionplugin.reverseproxy 4 0 2023-03-07 08:49:11.776
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.sap.webide.orionplugin.reverseproxy [14]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
I have installed java 7 version and my JAVA_HOME points to java7 as well. How to get rid of these errors?
I am updated Java home to point to java7.
答案1
得分: 1
你可能有多个版本的Java,Orion可能会选择最新的版本。您可以更新/Applications/SAPWebIDE/eclipse/orion.app/Contents/MacOS/orion.ini
配置文件。在-vmargs
属性之前添加以下内容:
-vm
/Library/Java/JavaVirtualMachines/jdk<java7version>.jdk/Contents/Home/bin/java
确保jdk目录指向Java 7,并且这两行位于不同的行。
英文:
You might have multiple versions of java and orion might be picking the latest one. You can update the orion.ini config file which will be at /Applications/SAPWebIDE/eclipse/orion.app/Contents/MacOS/orion.ini
. Add the following just before -vmargs
attribute:
-vm
/Library/Java/JavaVirtualMachines/jdk<java7version>.jdk/Contents/Home/bin/java
Make sure jdk directory is points to java7 and both of these are in different lines.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论