org.apache.felix.framework.cache.BundleArchive:无法创建存档目录
谷歌搜索我发现当 Windows 无法运行 .bat
时会显示此错误 当我在工作区中运行 roo
命令时,我得到了这个信息。
操作系统-> Windows 7,32 位 jdk-> jdk1.6.0_22 袋鼠-> spring-roo-1.1.0.RELEASE
漏洞错误信息为:
ERROR: Unable to create system bundle directory.
ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to create archive directory.
重复数百次。
我遵循了所有这些步骤,但无论如何我收到了错误。有谁知道为什么吗??
我读到了另一个类似的问题,该问题已从 OpenJDK 迁移到 JDK 1.6 得到解决。但我已经有 JDK 1.6
提前致谢
googling I gound that this error is shown when windows can't run a .bat
I'm getting this when I'm running roo
comand in my workspace.
OS -> windows 7, 32 bits
jdk -> jdk1.6.0_22
roo -> spring-roo-1.1.0.RELEASE
The hole error message is:
ERROR: Unable to create system bundle directory.
ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to create archive directory.
Repeated hundreds of times.
I followed all these steps, but anyway I'm getting the error. Does anybody know why??
I read another similar problem, which was solved moving from OpenJDK to JDK 1.6. But I have already JDK 1.6
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我今天在 Windows 7 64 位上也遇到了同样的问题。花了一些时间解决了它。
- - - - - - - - - - - - - - - - - 或者 - - - - - - - - --------------
(C:\Windows\System32\cmd.exe)
I also have same issue today on windows 7, 64 bit. after spending some time solved it.
----------------------------------OR-----------------------------
( C:\Windows\System32\cmd.exe)
我也有同样的问题。我没有roo安装文件夹的适当权限。然后我改变了我的权利,一切正常。
I had the same problem. I did not have the aprropiate rights to the installation folder of roo. Then I changed my rights and everything worked fine.
这可能是因为您以“普通”用户身份运行,但内部 Felix OSGI 容器默认情况下会尝试在工作目录中创建 felix-cache 目录。
有两种解决方案可能比简单地提升权限更好:
It's probably because you are running as a 'normal' user yet the internal Felix OSGI container, by default, tries to create a felix-cache directory in the working directory.
Two solutions which are probably better than simply elevating your permissions: