4 Replies Latest reply on Jun 21, 2012 4:07 PM by chupito

    Error Building RHQ Remoting Web Services Client 4.5.0-SNAPSHOT

    chupito

      Hi! I followed the build steps given at https://docs.jboss.org/author/display/RHQ/Building+RHQ & https://docs.jboss.org/author/display/RHQ/Advanced+Build+Notes , but when I run mvn -Penterprise,dev -Ddbsetup -DskipTests install command at "projects\rhq", I encounter these errors:

       

      -------------------------------------------------------------------------------------------------------------------------------------------------------

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

      [INFO] Building RHQ Remoting Web Services Client 4.5.0-SNAPSHOT

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

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-versions) @ rhq-remoting-webservices ---

      [INFO]

      [INFO] --- build-helper-maven-plugin:1.5:maven-version (default) @ rhq-remoting-webservices ---

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (write-build-properties-file) @ rhq-remoting-webservices ---

      [INFO] Executing tasks

       

      main:

      [INFO] Executed tasks

      [INFO]

      [INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read-build-properties-file) @ rhq-remoting-webservices ---

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ rhq-remoting-webservices ---

      [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.

      [INFO] skip non existing resourceDirectory C:\projects\rhq\modules\enterprise\remoting\webservices\src\main\resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ rhq-remoting-webservices ---

      [INFO] Nothing to compile - all classes are up to date

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (echo-build-properties) @ rhq-remoting-webservices ---

      [INFO] Executing tasks

       

      main:

      [INFO] Executed tasks

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (client-distribution) @ rhq-remoting-webservices ---

      [INFO] Executing tasks

       

      main:

           [echo] ant.version=Apache Ant(TM) version 1.8.2 compiled on December 20 2010

       

      prepare-dist:

       

      prepare-jbossws:

       

      unzip-jboss:

       

      prepare-jbossws:

       

      unzip-jboss:

       

      prepare-wsdl:

           [echo] *** Creating new wsdl

           [echo] The JAVA HOME being used: C:\Program Files\Java\jdk1.7.0_04\jre

           [echo]

           [echo] List of Stateless Session Beans passed into WSProvide/WSConsume :Webservices

       

      iterate-wsprovide:

           [echo] *** Providing WebservicesManagerRemote wsdl...

      [wsprovide] Error: Could not generate. (use --show-traces to see full traces)

      [wsprovide] java.lang.IllegalStateException: Cannot build JAXB context

      [wsprovide]     at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:984)

      [wsprovide]     at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:154)

      [wsprovide]     at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:108)

      [wsprovide]     at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:124)

      [wsprovide]     at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:183)

      [wsprovide]     at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:76)

       

      [wsprovide] Caused by: org.jboss.ws.WSException: Failed to create JAXBContext

      [wsprovide]     at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:114)

      [wsprovide]     at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:980)

      [wsprovide]     ... 5 more

      [wsprovide] Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:1 counts of IllegalAnnotationExceptions

      [wsprovide] java.lang.StackTraceElement does not have a no-arg default constructor.

      [wsprovide]     this problem is related to the following location:

      [wsprovide]             at java.lang.StackTraceElement

      [wsprovide]             at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()

      [wsprovide]             at java.lang.Throwable

      [wsprovide]             at private java.lang.Throwable[] org.rhq.enterprise.server.webservices.jaxws.ExceptionBean.suppressed

      [wsprovide]             at org.rhq.enterprise.server.webservices.jaxws.ExceptionBean

      [wsprovide]

      [wsprovide]     at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)

      [wsprovide]     at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)

      [wsprovide]     at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)

      [wsprovide]     at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)

      [wsprovide]     at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)

      [wsprovide]     at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:108)

      [wsprovide]     ... 6 more

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

      [INFO] Reactor Summary:

      [INFO]

      .

      .

      .

      [INFO] RHQ Remote Client Dependencies .................... SUCCESS [1.487s]

      [INFO] RHQ Remoting Web Services Client .................. FAILURE [8.728s]

      [INFO] RHQ Remoting Parent POM ........................... SKIPPED

      .

      .

      .

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 13:06.872s

      [INFO] Finished at: Thu Jun 14 02:18:16 CEST 2012

      [INFO] Final Memory: 148M/452M

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

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (client-distribution) on project rhq-remoting-webservices: An Ant BuildException has occured: The following error occurred while executing this line:

      [ERROR] C:\projects\rhq\modules\enterprise\remoting\webservices\src\main\scripts\rhq-client.build.xml:55: The following error occurred while executing this line:

      [ERROR] C:\projects\rhq\modules\enterprise\remoting\webservices\src\main\scripts\rhq-client.build.xml:188: The following error occurred while executing this line:

      [ERROR] C:\projects\rhq\modules\enterprise\remoting\webservices\src\main\scripts\rhq-client.build.xml:216: Could not invoke WSProvideTask

      [ERROR] around Ant part ...<ant antfile="C:\projects\rhq\modules\enterprise\remoting\webservices/src/main/scripts/rhq-client.build.xml" inheritRefs="false" dir="C:\projects\rhq\modules\enterprise\remoting\webservices" target="prepare-dist"inheritAll="false">... @ 5:235 in C:\projects\rhq\modules\enterprise\remoting\webservices\target\antrun\build-main.xml

      [ERROR] -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

       

      [ERROR]   mvn <goals> -rf :rhq-remoting-webservices

      C:\projects\rhq>

      -------------------------------------------------------------------------------------------------------------------------------------------------------

       

      How can I fix them??

        • 1. Re: Error Building RHQ Remoting Web Services Client 4.5.0-SNAPSHOT
          ips

          That's a known issue when trying to build RHQ w/ JDK7 (see https://bugzilla.redhat.com/show_bug.cgi?id=682878 ). Hopefully, we'll fully support building (and running) with JDK7 soon, but in the meantime, use JDK6.

          • 2. Re: Error Building RHQ Remoting Web Services Client 4.5.0-SNAPSHOT
            chupito

            Thanks Ian! I fixed it using JDK1.6, but now I've this other error:

             

            -------------------------------------------------------------------------------------------

             

            [INFO]  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:347)

            [INFO]  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)

            [INFO]  at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:296)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:198)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:324)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:156)

            [INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:196)

            [INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)

            [INFO]  at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)

            [INFO]  at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)

            [INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:177)

            [INFO] [ERROR] Unexpected error while processing XML

            [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)

            [INFO]  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:371)

            [INFO]  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)

            [INFO]  at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:296)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:198)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:324)

            [INFO]  at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:156)

            [INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:196)

            [INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)

            [INFO]  at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)

            [INFO]  at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)

            [INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:177)

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

            [INFO] Reactor Summary:

            [INFO]

            .

            .

            .

            [INFO] RHQ Enterprise Content HTTP Support ............... SUCCESS [7.288s]

            [INFO] RHQ Enterprise Core GUI ........................... FAILURE [51.352s]

            [INFO] RHQ Enterprise Server Plugins ..................... SKIPPED

            .

            .

            .

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

            [INFO] BUILD FAILURE

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

            [INFO] Total time: 12:12.035s

            [INFO] Finished at: Thu Jun 21 00:34:37 CEST 2012

            [INFO] Final Memory: 226M/556M

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

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

            [ERROR] C:\Program Files\Java\jdk1.6.0_15\jre\bin\java -Xms512M -Xmx768M -XX:PermSize=128M -XX:MaxPermSize=256M -classpath C:\projects\rhq\modules\enterprise\gui\coregui\src\main\java;C:\projects\rhq\modules\enterprise\gui\coregui\target\ge

            nerated-sources\gwt;C:\projects\rhq\modules\enterprise\gui\coregui\src\main\resources;C:\projects\rhq\modules\enterprise\gui\coregui\target\classes;C:\projects\rhq\modules\core\domain\target\rhq-core-domain-ejb3.jar;C:\Users\HP-DV7\.m2\repository\hibernate\hibernate3\3.2.r14201-2\hibernate3-3.2.r14201-2.jar;C:\projects\rhq\modules\enterprise\server\jar\target\rhq-enterprise-server.jar;C:\projects\rhq\modules\enterprise\comm\target\rhq-enterprise-comm-4.5.0-SNAPSHOT.jar;C:\projects\rhq\modules\core\comm-api\target\rhq-core-comm-api-4.5.0-SNAPSHOT.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-common\1.2.1.GA\jboss-common-1.2.1.GA.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-jmx\4.2.3.GA\jboss-jmx-4.2.3.GA.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-remoting\2.2.2.SP8\jboss-remoting-2.2.2.SP8.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-serialization\1.0.3.GA\jboss-serialization-1.0.3.GA.jar;C:\projects\rhq\modules\enterprise\server\xml-schemas\target\rhq-enterprise-server-xml-schemas-4.5.0-SNAPSHOT.jar;C:\Users\HP-DV7\.m2\repository\com\sun\xml\bind\jaxb-impl\2.1.9\jaxb-impl-2.1.9.jar;C:\projects\

            rhq\modules\core\client-api\target\rhq-core-client-api-4.5.0-SNAPSHOT.jar;C:\projects\rhq\modules\core\dbutils\target\rhq-core-dbutils-4.5.0-SNAPSHOT.jar;C:\projects\rhq\modules\enterprise\server\safe-invoker\target\safe-invoker-4.5.0-SNAPS

            HOT.jar;C:\Users\HP-DV7\.m2\repository\org\jboss\jbossws\jbossws-native-core\3.1.1.GA\jbossws-native-core-3.1.1.GA.jar;C:\Users\HP-DV7\.m2\repository\org\jboss\jbossws-spi\1.1.1.GA\jbossws-spi-1.1.1.GA.jar;C:\projects\rhq\modules\common\dri

            ft\target\rhq-common-drift-4.5.0-SNAPSHOT.jar;C:\Users\HP-DV7\.m2\repository\com\googlecode\java-diff-utils\diffutils\1.2.1\diffutils-1.2.1.jar;C:\Users\HP-DV7\.m2\repository\org\antlr\antlr\3.2\antlr-3.2.jar;C:\Users\HP-DV7\.m2\repository\

            org\antlr\antlr-runtime\3.2\antlr-runtime-3.2.jar;C:\Users\HP-DV7\.m2\repository\org\antlr\stringtemplate\3.2\stringtemplate-3.2.jar;C:\Users\HP-DV7\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\HP-DV7\.m2\repository\commons-bea

            nutils\commons-beanutils\1.6.1\commons-beanutils-1.6.1.jar;C:\Users\HP-DV7\.m2\repository\commons-collections\commons-collections\3.2\commons-collections-3.2.jar;C:\Users\HP-DV7\.m2\repository\commons-httpclient\commons-httpclient\3.0.1\commons-httpclient-3.0.1.jar;C:\Users\HP-DV7\.m2\repository\commons-codec\commons-codec\1.2\commons-codec-1.2.jar;C:\Users\HP-DV7\.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;C:\Users\HP-DV7\.m2\repository\commons-validator\commons-validator\1.1.4\commons-validator-1.1.4.jar;C:\Users\HP-DV7\.m2\repository\dom4j\dom4j\1.6.1-jboss\dom4j-1.6.1-jboss.jar;C:\Users\HP-DV7\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\Users\HP-DV7\.m2\repository\gnu-getopt\getopt\1.0.13\getopt-1.0.13.jar;C:\Users\HP-DV7\.m2\repository\i18nlog\i18nlog\1.0.10\i18nlog-1.0.10.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-cac

            he\1.4.1.SP9\jboss-cache-1.4.1.SP9.jar;C:\Users\HP-DV7\.m2\repository\jboss\jbpm\3.1.1\jbpm-3.1.1.jar;C:\Users\HP-DV7\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Users\HP-DV7\.m2\repository\org\snmp4j\snmp4j\1.8.2\snmp4j-1.8.2.jar;C:\Users\HP-DV7\.m2\repository\oswego-concurrent\concurrent\1.3.4-jboss-update1\concurrent-1.3.4-jboss-update1.jar;C:\Users\HP-DV7\.m2\repository\postgresql\postgresql\9.1-901.jdbc4\postgresql-9.1-901.jdbc4.jar;C:\Users\HP-DV7\.m2\repository\rss4j\rss4j\0.92-on.2\rss4j-0.92-on.2.jar;C:\Users\HP-DV7\.m2\repository\com\jcraft\jsch\0.1.29\jsch-0.1.29.jar;C:\Users\HP-DV7\.m2\repository\com\wordnik\swagger-annotations_2.9.1\1.1-SNAPSHOT\swagger-annotations_2.9.1-1.1-SNAPSHOT.jar;C:\projects\rhq\modules\helpers\rest-docs-generator\target\rest-docs-generator-4.5.0-SNAPSHOT.jar;C:\Users\HP-DV7\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;C:\Users\HP-DV7\.m2\repository\javax\ejb\ejb-api\3.0\ejb-api-3.0.jar;C:\Users\HP-DV7\.m2\repository\org\yaml\snakeyaml\1.8\snakeyaml-1.8.jar;C:\projects\rhq\modules\core\util\target\rhq-core-util-4.5.0-SNAPSHOT.jar;C:\Users\HP-DV7\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar;C:\Users\HP-DV7\.m2\repository\com\google\gwt\gwt-servlet\2.4.0\gwt-servlet-2.4.0.jar;C:\Users\HP-DV7\.m2\repository\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar;C:\Users\HP-DV7\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\HP-DV7\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\HP-DV7\.m2\repository\com\google\gwt\gwt-dev\2.4.0\gwt-dev-2.4.0.jar;C:\Users\HP-DV7\.m2\repository\com\smartgwt\smartgwt\3.0\smartgwt-3.0.jar;C:\Users\HP-DV7\.m2\repository\ca\nanometrics\gflot\1.0.0\gflot-1.0.0.jar;C:\Users\HP-DV7\.m2\repository\commons-fileupload\commons-fileupload\1.2\commons-fileupload-1.2.jar;C:\Users\HP-DV7\.m2\repository\commons-io\commons-io\1.3.1\commons-io-1.3.1.jar;C:\Users\HP-DV7\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;C:\Users\HP-DV7\.m2\repository\org\opensymphony\quartz\quartz\1.6.5\quartz-1.6.5.jar;C:\Users\HP-DV7\.m2\repository\hibernate-annotations\hibernate-annotations\3.2.1.GA\hibernate-annotations-3.2.1.GA.jar;C:\Users\HP-DV7\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api-2.4.jar;C:\Users\HP-DV7\.m2\repository\javax\persistence\persistence-api\1.0\persistence-api-1.0.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-ejb3x\4.2.3.GA\jboss-ejb3x-4.2.3.GA.jar;C:\Users\HP-DV7\.m2\repository\jboss\jboss-annotations-ejb3\4.2.3.GA\jboss-annotations-ejb3-4.2.3.GA.jar;C:\Users\HP-DV7\.m2\repository\jboss\jbossws\jboss-jaxws\3.0.1-native-2.0.4.GA\jboss-jaxws-3.0.1-native-2.0.4.GA.jar;C:\Users\HP-DV7\.m2\repository\org\jboss\resteasy\resteasy-jaxrs\2.3.3.Final\resteasy-jaxrs-2.3.3.Final.jar;C:\Users\HP-DV7\.m2\repository\org\jboss\resteasy\jaxrs-api\2.3.3.Final\jaxrs-api-2.3.3.Final.jar;C:\Users\HP-DV7\.m2\repository\org\scannotation\scannotation\1.0.3\scannotation-1.0.3.jar;C:\Users\HP-DV7\.m2\repository\javassist\javassist\3.9.0.GA\javassist-3.9.0.GA.jar;C:\Users\HP-DV7\.m2\repository\javax\annotation\jsr250-api\1.0\jsr250-api-1.0.jar;C:\Users\HP-DV7\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\HP-DV7\.m2\repository\org\apache\httpcomponents\httpclient\4.1.2\httpclient-4.1.2.jar;C:\Users\HP-DV7\.m2\repository\org\apache\httpcomponents\httpcore\4.1.2\httpcore-4.1.2.jar;C:\Users\HP-DV7\.m2\repository\net\jcip\jcip-annotations\1.0\jcip-annotations-1.0.jar;C:\Users\HP-DV7\.m2\repository\log4j\log4j\1.2.16\log4j-1.2.16.jar;C:\Users\HP-DV7\.m2\repository\org\jetbrains\annotations\7.0.2\annotations-7.0.2.jar;C:\Users\HP-DV7\.m2\repository\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;C:\Users\HP-DV7\.m2\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;C:\Users\HP-DV7\.m2\repository\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar;C:\Users\HP-DV7\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\HP-DV7\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\HP-DV7\.m2\repository\com\google\gwt\gwt-dev\2.4.0\gwt-dev-2.4.0.jar com.google.gwt.dev.Compiler -gen C:\projects\rhq\modules\enterprise\gui\coregui\target\.generated -logLevel INFO -style PRETTY -war C:\projects\rhq\modules\enterprise\gui\coregui\target\coregui -localWorkers 2 -draftCompile -strict org.rhq.core.RHQDomain org.rhq.enterprise.gui.coregui.CoreGUI

            [ERROR] ]] failed with status 1

            [ERROR] -> [Help 1]

            [ERROR]

            [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

            [ERROR] Re-run Maven using the -X switch to enable full debug logging.

            [ERROR]

            [ERROR] For more information about the errors and possible solutions, please read the following articles:

            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

            [ERROR]

            [ERROR] After correcting the problems, you can resume the build with the command

            [ERROR]   mvn <goals> -rf :rhq-coregui

            C:\projects\rhq>

            • 3. Re: Error Building RHQ Remoting Web Services Client 4.5.0-SNAPSHOT
              ips

              I'd try doing a clean rebuild of the coregui module:  cd modules/enterprise/gui/coregui mvn clean install  If that still fails, try giving more heap to the GWT compiler - see:  https://docs.jboss.org/author/display/RHQ/Advanced+Build+Notes#AdvancedBuildNotes-GWTCompilationMemoryRequirements

              • 4. Re: Error Building RHQ Remoting Web Services Client 4.5.0-SNAPSHOT
                chupito

                If I try: cd modules/enterprise/gui/coregui mvn clean install, it builds RHQ with success, but if I try in the root directory it fails with errors like these:

                 

                 

                [ERROR] symbol  : class BasicDBObject

                [ERROR] location: class org.rhq.enterprise.server.plugins.drift.mongodb.dao.FileDAO

                [ERROR] \projects\rhq\modules\enterprise\server\plugins\drift-mongodb\src\main\java\org\rhq\enterprise\server\plugins\drift\mongodb\dao\FileDAO.java:[59,8] cannot find symbol

                [ERROR] symbol  : class GridFSInputFile

                [ERROR] location: class org.rhq.enterprise.server.plugins.drift.mongodb.dao.FileDAO

                [ERROR] \projects\rhq\modules\enterprise\server\plugins\drift-mongodb\src\main\java\org\rhq\enterprise\server\plugins\drift\mongodb\dao\FileDAO.java:[65,26] cannot find symbol

                [ERROR] symbol  : class BasicDBObject

                [ERROR] location: class org.rhq.enterprise.server.plugins.drift.mongodb.dao.FileDAO

                [ERROR] -> [Help 1]

                [ERROR]

                [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

                [ERROR] Re-run Maven using the -X switch to enable full debug logging.

                [ERROR]

                [ERROR] For more information about the errors and possible solutions, please read the following articles:

                [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

                [ERROR]

                [ERROR] After correcting the problems, you can resume the build with the command

                 

                 

                [ERROR]   mvn <goals> -rf :drift-mongodb-serverplugin

                C:\projects\rhq>