2 Replies Latest reply on Jun 22, 2012 11:06 AM by Michael Anstis

    SNAPSHOT: Crosss-project compilation error in .generated/org/jboss/errai/bus/client/framework/RpcProxyLoaderImpl.java

    Michael Anstis Newbie

      Hi,

       

      Building our project today with the most recent SNAPSHOT produces the following error:-

       

      [INFO] --- gwt-maven-plugin:2.4.0:compile (gwt-compile) @ guvnorng-core ---

      [INFO] auto discovered modules [org.drools.guvnor.GuvnorNGCore, org.drools.guvnor.FastCompiledGuvnorNGCore]

      [INFO] Compiling module org.drools.guvnor.GuvnorNGCore

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

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

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

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

      [INFO]    Scanning for additional dependencies: jar:file:/home/manstis/.m2/repository/org/jboss/errai/errai-ioc/2.0.1-SNAPSHOT/errai-ioc-2.0.1-SNAPSHOT.jar!/org/jboss/errai/ioc/client/Container.java

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

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

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

      [INFO]                Generating Extensions Bootstrapper...

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

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

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

      [INFO]                Generating Extensions Bootstrapper...

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

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

      [INFO]                Generating Extensions Bootstrapper...

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

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

      [INFO]                Generating Extensions Bootstrapper...

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

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

      [INFO]                Generating Extensions Bootstrapper...

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

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

      [INFO]                Generating Extensions Bootstrapper...

      [INFO]    Scanning for additional dependencies: jar:file:/home/manstis/.m2/repository/org/jboss/errai/errai-marshalling/2.0.1-SNAPSHOT/errai-marshalling-2.0.1-SNAPSHOT.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]          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: jar:file:/home/manstis/.m2/repository/org/jboss/errai/errai-bus/2.0.1-SNAPSHOT/errai-bus-2.0.1-SNAPSHOT.jar!/org/jboss/errai/bus/client/framework/ClientMessageBusImpl.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 '/home/manstis/workspaces/git/guvnorng/guvnorng-core/target/.generated/org/jboss/errai/bus/client/framework/RpcProxyLoaderImpl.java'

      [INFO]       [ERROR] Line 6:  The import org.drools.guvnor.shared cannot be resolved

      [INFO]       [ERROR] Line 7:  The import org.drools.guvnor.shared cannot be resolved

      [INFO]       [ERROR] Line 25:  AssetService cannot be resolved to a type

      [INFO]       [ERROR] Line 41:  AbstractAsset cannot be resolved to a type

      [INFO]       [ERROR] Line 43:  AbstractAsset cannot be resolved to a type

      [INFO]       [ERROR] Line 45:  AbstractAsset cannot be resolved to a type

      [INFO]       [ERROR] Line 50:  AssetService cannot be resolved to a type

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

       

      Our project structure has not changed and the referenced classes are not in the project being compiled:-

       

      guvnorng-core

      ---> Failed compilation

       

      guvnorn-showcase (depends on guvnorng-core)

      src/main/java/org/drools/guvnor/shared/AssetService

      src/main/java/org/drools/guvnor/shared/vo/asset/AbstractAsset

       

      Please advise.

       

      Thanks,

       

      Mike