3 Replies Latest reply on Jun 1, 2012 7:59 PM by Daniel Kemp

    Kitchensink quickstart not building?

    Daniel Kemp Newbie

      I have been trying to evaluate this product but am not able to successfully build the kitchensink quick start app. I initially downloaded the new early release JBossDevStudio which provides a GWT Quickstart. I followed the readme, using version 2.0.0.Final and get this error.

      [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ MerchanC ---

      [INFO] auto discovered modules [com.dkservice.merchandbs.KitchenSink]

      [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts

      [INFO] Compiling module com.dkservice.merchandbs.KitchenSink

      [INFO]    Validating newly compiled units

      [INFO]       Ignored 6 units with compilation errors in first pass.

      [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.

      [INFO]    Scanning for additional dependencies: jar:file:/C:/.m2/repository/org/jboss/errai/errai-ioc/2.0.Beta1/errai-ioc-2.0.Beta1.jar!/org/jboss/errai/ioc/client/Container.java

      [INFO]       Computing all possible rebind results for 'org.jboss.errai.ioc.client.api.Bootstrapper'

      [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper

      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator

      [INFO]                Generating Extensions Bootstrapper...

      [ERROR] SLF4J: Class path contains multiple SLF4J bindings.

      [ERROR] SLF4J: Found binding in [jar:file:/C:/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      [ERROR] SLF4J: Found binding in [jar:file:/C:/.m2/repository/org/jboss/weld/servlet/weld-servlet/1.1.5.Final/weld-servlet-1.1.5.Final.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      [ERROR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      [ERROR] log4j:WARN No appenders could be found for logger (org.jboss.errai.common.metadata.PackagingUtil).

      [ERROR] log4j:WARN Please initialize the log4j system properly.

      [ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

      [INFO]                Checking ErraiApp.properties for configured types ...

      [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper

      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator

      [INFO]                Generating Extensions Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper

      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator

      [INFO]                Generating Extensions Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper

      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator

      [INFO]                Generating Extensions Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper

      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator

      [INFO]                Generating Extensions Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper

      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator

      [INFO]                Generating Extensions Bootstrapper...

      [INFO]    Scanning for additional dependencies: jar:file:/C:/.m2/repository/org/jboss/errai/errai-marshalling/2.0.Beta1/errai-marshalling-2.0.Beta1.jar!/org/jboss/errai/marshalling/client/api/MarshallerFramework.java

      [INFO]       Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'

      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator

      [INFO]                Generating Marshallers Bootstrapper...

      [INFO] first strategy...

      [INFO]  ** signature matched root! I:\JBossDevStudio\workspace_jboss\MerchanC\target\classes

      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator

      [INFO]                Generating Marshallers Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator

      [INFO]                Generating Marshallers Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator

      [INFO]                Generating Marshallers Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator

      [INFO]                Generating Marshallers Bootstrapper...

      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator

      [INFO]                Generating Marshallers Bootstrapper...

      [INFO]    Scanning for additional dependencies: I:\JBossDevStudio\workspace_jboss\MerchanC\target\.generated\com\dkservice\merchandbs\client\shared\_MemberValidator.java

      [INFO]       Adding '1' new generated units

      [INFO]          Validating newly compiled units

      [INFO]             Ignored 1 unit with compilation errors in first pass.

      [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.

      [INFO]    [ERROR] Errors in 'I:\JBossDevStudio\workspace_jboss\MerchanC\target\.generated\com\dkservice\merchandbs\client\shared\_MemberValidatorImpl.java'

      [INFO]       [ERROR] Line 434:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractGwtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, SizeValidatorForArraysOfLong, ConstraintDescriptorImpl<Size>, Class<?>[])

      [INFO]       [ERROR] Line 458:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractGwtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, SizeValidatorForArraysOfLong, ConstraintDescriptorImpl<Size>, Class<?>[])

      [INFO]       [ERROR] Line 459:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractGwtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, DigitsValidatorForNumber, ConstraintDescriptorImpl<Digits>, Class<?>[])

      [INFO]       [ERROR] Line 480:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractGwtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, SizeValidatorForArraysOfLong, ConstraintDescriptorImpl<Size>, Class<?>[])

      [INFO]    [ERROR] Cannot proceed due to previous errors

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 14.249s

      [INFO] Finished at: Thu May 31 12:25:43 EST 2012

      [INFO] Final Memory: 7M/18M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default) on project MerchanC: Command [[

      [ERROR] I:\java\java32\jdk7u4\jre\bin\java -Xmx512m -classpath I:\JBossDevStudio\workspace_jboss\MerchanC\src\main\java;I:\JBossDevStudio\workspace_jboss\MerchanC\src\main\resources;I:\JBossDevStudio\workspace_jboss\MerchanC\target\classes;C:\.m2\repository\javax\enterprise\cdi-api\1.0-SP4\cdi-api-1.0-SP4.jar;C:\.m2\repository\org\jboss\spec\javax\interceptor\jboss-interceptors-api_1.1_spec\1.0.0.Final\jboss-interceptors-api_1.1_spec-1.0.0.Final.jar;C:\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.1_spec\1.0.0.Final\jboss-transaction-api_1.1_spec-1.0.0.Final.jar;C:\.m2\repository\org\jboss\spec\javax\annotation\jboss-annotations-api_1.1_spec\1.0.0.Final\jboss-annotations-api_1.1_spec-1.0.0.Final.jar;C:\.m2\repository\org\jboss\spec\javax\ws\rs\jboss-jaxrs-api_1.1_spec\1.0.0.Final\jboss-jaxrs-api_1.1_spec-1.0.0.Final.jar;C:\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.0-api\1.0.1.Final\hibernate-jpa-2.0-api-1.0.1.Final.jar;C:\.m2\repository\org\jboss\spec\javax\ejb\jboss-ejb-api_3.1_spec\1.0.1.Final\jboss-ejb-api_3.1_spec-1.0.1.Final.jar;C:\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\.m2\repository\org\hibernate\hibernate-validator\4.2.0.Final\hibernate-validator-4.2.0.Final.jar;C:\.m2\repository\org\hibernate\hibernate-validator\4.2.0.Final\hibernate-validator-4.2.0.Final-sources.jar;C:\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\.m2\repository\org\jboss\errai\errai-bus\2.0.Beta1\errai-bus-2.0.Beta1.jar;C:\.m2\repository\org\jboss\errai\errai-common\2.0.Beta1\errai-common-2.0.Beta1.jar;C:\.m2\repository\org\reflections\reflections\0.9.6_jboss_errai_r3\reflections-0.9.6_jboss_errai_r3.jar;C:\.m2\repository\com\google\guava\guava\r06\guava-r06.jar;C:\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\.m2\repository\org\jboss\errai\errai-marshalling\2.0.Beta1\errai-marshalling-2.0.Beta1.jar;C:\.m2\repository\com\google\inject\guice\3.0\guice-3.0.jar;C:\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\.m2\repository\com\google\code\guice\guice-servlet\2.0\guice-servlet-2.0.jar;C:\.m2\repository\org\slf4j\slf4j-api\1.6.1\slf4j-api-1.6.1.jar;C:\.m2\repository\org\slf4j\slf4j-log4j12\1.6.1\slf4j-log4j12-1.6.1.jar;C:\.m2\repository\log4j\log4j\1.2.16\log4j-1.2.16.jar;C:\.m2\repository\org\javassist\javassist\3.15.0-GA\javassist-3.15.0-GA.jar;C:\.m2\repository\io\netty\netty\4.0.0.Alpha1-SNAPSHOT\netty-4.0.0.Alpha1-SNAPSHOT.jar;C:\.m2\repository\org\jboss\errai\errai-ioc\2.0.Beta1\errai-ioc-2.0.Beta1.jar;C:\.m2\repository\org\jboss\errai\errai-codegen\2.0.Beta1\errai-codegen-2.0.Beta1.jar;C:\.m2\repository\org\jboss\errai\errai-tools\2.0.Beta1\errai-tools-2.0.Beta1.jar;C:\.m2\repository\hsqldb\hsqldb\1.8.0.7\hsqldb-1.8.0.7.jar;C:\.m2\repository\org\mvel\mvel2\2.1.Beta6\mvel2-2.1.Beta6.jar;C:\.m2\repository\org\jboss\errai\errai-cdi-client\2.0.Beta1\errai-cdi-client-2.0.Beta1.jar;C:\.m2\repository\org\jboss\errai\errai-javax-enterprise\2.0.Beta1\errai-javax-enterprise-2.0.Beta1.jar;C:\.m2\repository\org\jboss\errai\errai-weld-integration\2.0.Beta1\errai-weld-integration-2.0.Beta1.jar;C:\.m2\repository\org\jboss\errai\errai-cdi-jetty\2.0.Beta1\errai-cdi-jetty-2.0.Beta1.jar;C:\.m2\repository\org\jboss\weld\servlet\weld-servlet\1.1.5.Final\weld-servlet-1.1.5.Final.jar;C:\.m2\repository\org\jboss\weld\weld-build-config\1.1.5.Final\weld-build-config-1.1.5.Final.jar;C:\.m2\repository\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar;C:\.m2\repository\com\google\gwt\gwt-dev\2.4.0\gwt-dev-2.4.0.jar;C:\.m2\repository\org\jboss\errai\jboss7-support\2.0.Beta1\jboss7-support-2.0.Beta1.jar;C:\.m2\repository\org\jboss\spec\javax\servlet\jboss-servlet-api_3.0_spec\1.0.0.Final\jboss-servlet-api_3.0_spec-1.0.0.Final.jar;C:\.m2\repository\org\hibernate\hibernate-jpamodelgen\1.1.1.Final\hibernate-jpamodelgen-1.1.1.Final.jar;C:\.m2\repository\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar;C:\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\.m2\repository\com\google\gwt\gwt-dev\2.4.0\gwt-dev-2.4.0.jar com.google.gwt.dev.Compiler -gen I:\JBossDevStudio\workspace_jboss\MerchanC\target\.generated -logLevel INFO -style OBF -war I:\JBossDevStudio\workspace_jboss\MerchanC\src\main\webapp -localWorkers 4 com.dkservice.merchandbs.KitchenSink

      [ERROR] ]] failed with status 1

      [ERROR] -> [Help 1]

       

       

      I then found this Youtube vid:

       

      Same issue.. I tried the 2.0.1-SNAPSHOT archetype as currently displayed on the page https://docs.jboss.org/author/display/ERRAI/Errai+Kitchen+Sink+Maven+Archetype and also tried the Beta1 as shown in the vid.

       

       

      I tired several other archtypes. All produce the same error or do not provide me with the corresponding errai jars.

       

      I am using the new JBossDev. With java sdk7u4 32 bit.

       

      What am i doing wrong?