SAP Web IDE 在 macOS 上启动时出现错误。

huangapple go评论66阅读模式
英文:

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&lt;java7version&gt;.jdk/Contents/Home/bin/java

Make sure jdk directory is points to java7 and both of these are in different lines.

huangapple
  • 本文由 发表于 2023年3月7日 11:23:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/75657774.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定