Announcement Announcement Module
Collapse
No announcement yet.
install of git addon fails with exception and hangs roo Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • install of git addon fails with exception and hangs roo

    Hello,

    First post so please forgive etiquette blunders. I've searched forums and internet with no luck.

    I'm a newbie to roo, working through the tutorials.

    Have Roo 1.2.0.M1 [rev 1fa252f] on Windows 7 (installed in C:\Roo per recommendation)

    I was able to successfully install the jgit addon like so:

    ************************************************** *************************
    roo> addon install id --searchResultId 01
    Target resource(s):
    -------------------
    Spring Roo - Wrapping - jgit (0.12.1.0010)

    Required resource(s):
    ---------------------
    Spring Roo - Wrapping - jsch (0.1.42.0010)

    Deploying...done.

    Successfully installed add-on: Spring Roo - Wrapping - jgit [version: 0.9.3.0010] [/COLOR][/COLOR]


    roo> addon install id --searchResultId 01
    Target resource(s):
    -------------------
    Spring Roo - Addon - GIT (1.2.0.RC1)

    Deploying...done.
    ************************************************** *******************************


    when I try to install the git addon, I get this traceback and roo hangs the DOS shell.

    Any ideas on how I can debug this?

    Thanks,
    Alec



    ************************************************** *************
    Exception in thread "Spring Roo JLine Shell" java.lang.NoSuchMethodError: org.springframework.roo.project.PathResolver.getRo ot()Ljava/lang/String;
    at org.springframework.roo.addon.git.GitShellEventLis tener.isGitEnabled(GitShellEventListener.java:46)
    at org.springframework.roo.addon.git.GitShellEventLis tener.onShellStatusChange(GitShellEventListener.ja va:40)
    at org.springframework.roo.shell.event.AbstractShellS tatusPublisher.setShellStatus(AbstractShellStatusP ublisher.java:62)
    at org.springframework.roo.shell.AbstractShell.execut eCommand(AbstractShell.java:218)
    at org.springframework.roo.addon.roobot.client.AddOnR ooBotOperationsImpl.installOrUpgradeAddOn(AddOnRoo BotOperationsImpl.java:253)
    at org.springframework.roo.addon.roobot.client.AddOnR ooBotOperationsImpl.installAddon(AddOnRooBotOperat ionsImpl.java:230)
    at org.springframework.roo.addon.roobot.client.AddOnR ooBotOperationsImpl.installAddOn(AddOnRooBotOperat ionsImpl.java:225)
    at org.springframework.roo.addon.roobot.client.AddOnC ommands.installId(AddOnCommands.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.springframework.roo.support.util.ReflectionUti ls.invokeMethod(ReflectionUtils.java:191)
    at org.springframework.roo.process.manager.ProcessMan agerHostedExecutionStrategy$1.callback(ProcessMana gerHostedExecutionStrategy.java:49)
    at java.lang.Thread.run(Unknown Source)
Working...
X