我根据本教程创建了OSGI包 ,但是当我尝试使用以下命令安装bundle时:
osgi> install file:/<path>/sample01-1.0.0.jar
Run Code Online (Sandbox Code Playgroud)
它会显示此错误:
Hello World...!
osgi> install file:/sample01-0.0.1-SNAPSHOT.jar<br>
gogo: BundleException: An error occurred trying to read the bundle<br>
osgi> "
Run Code Online (Sandbox Code Playgroud)
问题是什么?这是我的第一个OSGI包.