Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2321

Petclinic fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.4.RELEASE
    • Component/s: @ ROO SHELL
    • Labels:
    • Environment:
      Ubuntu Linux 10.04, Java 1.5.0_15-b04

      Description

      When I run: script clinic.roo

      I get this error message:

      roo> finder add --finderName findPetsByNameAndWeight --class ~.domain.Pet
      Exception in thread "Spring Roo JLine Shell" java.lang.NoSuchMethodError: org.springframework.roo.addon.entity.EntityMetadata.getEntityName()Ljava/lang/String;
      at org.springframework.roo.addon.finder.FinderOperationsImpl.installFinder(FinderOperationsImpl.java:168)
      at org.springframework.roo.addon.finder.FinderCommands.installFinders(FinderCommands.java:74)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
      at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:180)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
      at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165)
      at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358)
      at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132)
      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            pharazon Antti H├Ątinen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: