windows-7 - org.apache.felix.framework.cache.BundleArchive : Unable to create archive directory

标签 windows-7 spring-roo

谷歌搜索我发现当 Windows 无法运行 .bat
时会显示此错误 当我在工作区中运行 roo 命令时,我得到了这个信息。

操作系统 -> windows 7, 32 位 jdk-> jdk1.6.0_22 roo -> 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.

重复数百次。
我关注了所有these steps ,但无论如何我收到了错误。有谁知道为什么吗?

我读到了另一个类似的问题,该问题已从 OpenJDK 迁移到 JDK 1.6 得到解决。但我已经有 JDK 1.6

提前致谢

最佳答案

我今天在 Windows 7 64 位上也遇到了同样的问题。花了一些时间解决了它。

  1. 转到 %ROO_HOME%/bin (对我来说 ROO_HOME = C:\Program Files\springsource\spring-roo-1.1.5.RELEASE)
  2. 右键单击 Roo.bat,然后从弹出窗口中选择“以管理员身份运行”选项。 - - - - - - - - - - - - - - - - - 或者 - - - - - - - - --------------
  3. 在“运行”框中(“开始”按钮弹出窗口中的最后一个选项),键入 cmd
  4. 不要按 Enter,而是使用 CTRL + SHIFT + ENTER。弹出框点击"is"
  5. 将出现带有管理属性的命令提示符,输入 ROO 就会出现。 (C:\Windows\System32\cmd.exe)

关于windows-7 - org.apache.felix.framework.cache.BundleArchive : Unable to create archive directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4270856/

相关文章:

java - 模拟使用 Roo 生成的持久层

Java 文件 IO 和 "access denied"错误

php - Wamp 2.2 安装 PEAR

c - 在 Windows 7 中保存文件

c# - 自定义 Windows 7 开始菜单搜索提供程序

file-upload - 文件上传至表单 :update with Spring Roo

java - 方面是否替代存储库?

ruby-on-rails - 在 Windows 上安装 Ruby on Rails

java - 不从实体开始学习 Spring Roo

mysql - Spring Roo - 多对多关系在每次更新时删除和插入 - 如何更改此行为