在注册表中找不到应用程序“ org.genivi.commonapi.console.application”

如何解决在注册表中找不到应用程序“ org.genivi.commonapi.console.application”

这是我第一次在Windows中使用通用API。我已经有我的franca文件。现在,我尝试使用commonapi-generator-windows-x86_64.exe生成公共API代码。但是似乎生成器没有生成通用的API代码

这是日志中的错误

!SESSION 2020-08-12 09:30:48.751 -----------------------------------------------
eclipse.buildId=unkNown
java.version=1.8.0_261
java.vendor=Oracle Corporation
BootLoader constants: OS=win32,ARCH=x86_64,WS=win32,NL=en_US
Framework arguments:  -sk fidl\HelloWorld.fidl
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -sk fidl\HelloWorld.fidl
 
!ENTRY org.eclipse.equinox.launcher.win32.win32.x86 2 0 2020-08-12 09:30:49.718
!MESSAGE Could not resolve module: org.eclipse.equinox.launcher.win32.win32.x86 [34]
Unresolved requirement: Require-Capability: eclipse.platform; filter:="(& (osgi.ws=win32) 
(osgi.os=win32) (osgi.arch=x86))"

 
!ENTRY org.eclipse.osgi 4 0 2020-08-12 09:30:49.720
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.genivi.commonapi.console.application" Could not be found 
in the registry. The applications available are: org.eclipse.emf.codegen.CodeGen,org.eclipse.emf.codegen.JMerger,org.eclipse.emf.codegen.ecore.Generator,org.eclipse.emf.mwe.core.WorkflowRunner,org.eclipse.equinox.app.error,org.eclipse.jdt.core.JavaCodeFormatter,org.eclipse.jdt.core.JavaIndexer.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

以前,它显示与java sdk相关的错误。因为在我的系统中,我使用的是Java sdk12。因此,对于该问题,我已经安装并验证了Java sdk8。WindowsPC中也安装了maven。我不确定生成通用API代码还会缺少什么。

当前,这是我在Windows命令提示符下执行的命令:

commonapi-generator\commonapi-generator-windows-x86_64.exe -sk fidl\HelloWorld.fidl

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?
Java在半透明框架/面板/组件上重新绘画。
Java“ Class.forName()”和“ Class.forName()。newInstance()”之间有什么区别?
在此环境中不提供编译器。也许是在JRE而不是JDK上运行?
Java用相同的方法在一个类中实现两个接口。哪种接口方法被覆盖?
Java 什么是Runtime.getRuntime()。totalMemory()和freeMemory()?
java.library.path中的java.lang.UnsatisfiedLinkError否*****。dll
JavaFX“位置是必需的。” 即使在同一包装中
Java 导入两个具有相同名称的类。怎么处理?
Java 是否应该在HttpServletResponse.getOutputStream()/。getWriter()上调用.close()?
Java RegEx元字符(。)和普通点?