Announcement Announcement Module
Collapse
No announcement yet.
Vaadin addon exception Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vaadin addon exception

    Hi there

    I'm trying to evaluate Spring Roo + Vaadin as internal development tool for our company.

    sadly, using Spring Roo 1.2.0.M1 [rev 1fa252f] and vaadin 1.0.0 and following the instruction on https://vaadin.com/springroo of the addon section i got this error when creating entities which prevent me from completing the sample

    roo> project --topLevelPackage com.buongiorno.vaa --projectName TestVaa
    Created ROOT/pom.xml
    Created SRC_MAIN_JAVA
    Created SRC_MAIN_RESOURCES
    Created SRC_TEST_JAVA
    Created SRC_TEST_RESOURCES
    Created SRC_MAIN_WEBAPP
    Created SRC_MAIN_RESOURCES/META-INF/spring
    Created SRC_MAIN_RESOURCES/log4j.properties
    Created SRC_MAIN_RESOURCES/META-INF/spring/applicationContext.xml
    com.buongiorno.vaa roo> persistence setup --provider ECLIPSELINK --database HYPERSONIC_IN_MEMORY
    Created SRC_MAIN_RESOURCES/META-INF/spring/database.properties
    Updated ROOT/pom.xml [added dependencies org.hsqldb:hsqldb:1.8.0.10, org.eclipse.persistence:eclipselink:2.2.1, org.eclipse.persistence:javax.persistence:2.0.3, org.hibernate:hibernate-validator:4.2.0.Final, javax.validation:validation-api:1.0.0.GA, cglib:cglib-nodep:2.2.2, javax.transaction:jta:1.1, org.springframework:spring-jdbc:${spring.version}, org.springframework:spring-orm:${spring.version}, commons-pool:commons-pool:1.5.4, commons-dbcp:commons-dbcp:1.3; added repositories http://mirrors.ibiblio.org/pub/mirro...ink/maven.repo, https://repository.jboss.org/nexus/c...ries/releases]
    Updated SRC_MAIN_RESOURCES/META-INF/spring/applicationContext.xml
    Created SRC_MAIN_RESOURCES/META-INF/persistence.xml
    com.buongiorno.vaa roo> entity --class ~.domain.Topping --testAutomatically
    Created SRC_MAIN_JAVA/com/buongiorno/vaa/domain
    Created SRC_MAIN_JAVA/com/buongiorno/vaa/domain/Topping.java
    Exception in thread "Spring Roo JLine Shell" java.lang.NoSuchMethodError: org.springframework.roo.classpath.details.MemberFi ndingUtils.getDeclaredTypeAnnotation(Lorg/springframework/roo/classpath/details/MemberHoldingTypeDetails;Lorg/springframework/roo/model/JavaTypeLorg/springframework/roo/classpath/details/annotations/AnnotationMetadata;
    at com.vaadin.spring.roo.addon.entitymanagerview.Vaad inEntityManagerViewMetadataProvider.get(VaadinEnti tyManagerViewMetadataProvider.java:224)
    at org.springframework.roo.metadata.DefaultMetadataSe rvice.getInternal(DefaultMetadataService.java:149)
    at org.springframework.roo.metadata.DefaultMetadataSe rvice.get(DefaultMetadataService.java:83)
    at org.springframework.roo.metadata.DefaultMetadataSe rvice.get(DefaultMetadataService.java:219)
    at org.springframework.roo.classpath.scanner.MemberDe tailsScannerImpl.getMemberDetails(MemberDetailsSca nnerImpl.java:139)
    at org.springframework.roo.addon.dod.DataOnDemandOper ationsImpl.newDod(DataOnDemandOperationsImpl.java: 63)
    at org.springframework.roo.addon.test.IntegrationTest OperationsImpl.newIntegrationTest(IntegrationTestO perationsImpl.java:74)
    at org.springframework.roo.addon.test.IntegrationTest OperationsImpl.newIntegrationTest(IntegrationTestO perationsImpl.java:64)
    at org.springframework.roo.addon.entity.EntityCommand s.newPersistenceClassJpa(EntityCommands.java:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    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 org.springframework.roo.process.manager.internal.D efaultProcessManager.doTransactionally(DefaultProc essManager.java:184)
    at org.springframework.roo.process.manager.internal.D efaultProcessManager.execute(DefaultProcessManager .java:147)
    at org.springframework.roo.process.manager.ProcessMan agerHostedExecutionStrategy.execute(ProcessManager HostedExecutionStrategy.java:47)
    at org.springframework.roo.shell.AbstractShell.execut eCommand(AbstractShell.java:201)
    at org.springframework.roo.shell.jline.JLineShell.pro mptLoop(JLineShell.java:392)
    at org.springframework.roo.shell.jline.JLineShell.run (JLineShell.java:158)
    at java.lang.Thread.run(Thread.java:679)
    org.springframework.roo.classpath.details.MemberFi ndingUtils.getDeclaredTypeAnnotation(Lorg/springframework/roo/classpath/details/MemberHoldingTypeDetails;Lorg/springframework/roo/model/JavaTypeLorg/springframework/roo/classpath/details/annotations/AnnotationMetadata;
    Created SRC_MAIN_JAVA/com/buongiorno/vaa/domain/Topping_Roo_Configurable.aj
    Created SRC_MAIN_JAVA/com/buongiorno/vaa/domain/Topping_Roo_Jpa_Entity.aj
    Created SRC_MAIN_JAVA/com/buongiorno/vaa/domain/Topping_Roo_Entity.aj
    Created SRC_MAIN_JAVA/com/buongiorno/vaa/domain/Topping_Roo_ToString.aj


    can you please provide me some hint?
    maybe the latest version io not compatible with vaadin addon ?

    after the exception the Roo command line is struck and I have to quit, some files are create but are not completed and vaadin cannot be properly invoked
Working...
X