Do you need to add app server specific support to your deployment?
magick93 Mar 25, 2015 2:45 PMHi, again
I'm struggling to get my app deployed to Wildfly 8.2.0 final.
Below is the output from attempting to deploy using mvn clean package wildfly:deploy -Dmaven.test.skip=true -Pjboss7, which includes "Do you need to add app server specific support to your deployment?"
Note, I do have the following in my pom:
<dependency> <groupId>org.jboss.errai</groupId> <artifactId>errai-jboss-as-support</artifactId> <version>${errai.version}</version> </dependency>
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO] Adding '1' new generated units
[INFO] Validating units:
[INFO] Warnings in '/home/anton/git/app.ui/target/.generated/org/jboss/errai/marshalling/client/api/Marshaller_for_com_magick_models_shared_TraderDataFeed_Impl.java'
[INFO] See snapshot: /tmp/org.jboss.errai.marshalling.client.api.Marshaller_for_com_magick_models_shared_TraderDataFeed_Impl2207309333379629702.java
[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 'jar:file:/home/anton/.m2/repository/org/jboss/errai/errai-ui/3.1.2.Final/errai-ui-3.1.2.Final.jar!/org/jboss/errai/ui/shared/TemplateUtil.java'
[INFO] [ERROR] Line 355: The method clone(Element, boolean) in the type DOM is not applicable for the arguments (Element, boolean)
[INFO] Computing all possible rebind results for 'org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource'
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource_default_InlineClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource_default_InlineClientBundleGenerator.java (File name too long)
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.StaticClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource_default_StaticClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_account_widgets_termsandconditions_TermsAndConditionsWidgetTemplateResource_default_StaticClientBundleGenerator.java (File name too long)
[INFO] Computing all possible rebind results for 'org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource'
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource_default_InlineClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource_default_InlineClientBundleGenerator.java (File name too long)
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.StaticClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource_default_StaticClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_traderaccount_TAActivityWidgetTemplateResource_default_StaticClientBundleGenerator.java (File name too long)
[INFO] Computing all possible rebind results for 'org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource'
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource_default_InlineClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource_default_InlineClientBundleGenerator.java (File name too long)
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.StaticClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource_default_StaticClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_strategy_StrategyActivityWidgetTemplateResource_default_StaticClientBundleGenerator.java (File name too long)
[INFO] Computing all possible rebind results for 'org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource'
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource_default_InlineClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource_default_InlineClientBundleGenerator.java (File name too long)
[INFO] Rebinding org.jboss.errai.ioc.client.BootstrapperImpl.app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource
[INFO] Invoking generator com.google.gwt.resources.rebind.context.StaticClientBundleGenerator
[INFO] [WARN] Error writing out generated unit at '/home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource_default_StaticClientBundleGenerator.java': java.io.FileNotFoundException: /home/anton/git/app.ui/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl_app_client_local_activity_widgets_activity_trade_ErrorTradeActivityWidgetTemplateResource_default_StaticClientBundleGenerator.java (File name too long)
[INFO] Computing all possible rebind results for 'com.watopi.chosen.client.ChosenImpl.ChozenTemplate'
[INFO] Rebinding com.watopi.chosen.client.ChosenImpl.ChozenTemplate
[INFO] Invoking generator com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
[INFO] Constructing interface com.watopi.chosen.client.ChosenImpl.ChozenTemplate
[INFO] Generating method body for option()
[INFO] [WARN] Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use SafeStyles to specify arguments in a CSS attribute context
[INFO] INFO [ValidatorFactoryGenerator] Generating validator factory...
[INFO] ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuing
[INFO] org.jboss.errai.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/libatk-wrapper.so]
[INFO] Available types: [jarfile, jarUrl, directory, vfsfile, vfszip, org.jboss.errai.common.metadata.WarUrlType@241cc531, *.jnilib, *.zip, *.pom, org.jboss.errai.common.metadata.JbossVFsTypeHandler@5cd6267c]
[INFO] Do you need to add app server specific support to your deployment? (For example, errai-jboss-as-support for AS7)
[INFO] at org.jboss.errai.reflections.vfs.Vfs.fromURL(Vfs.java:126)
[INFO] at org.jboss.errai.reflections.vfs.Vfs.fromURL(Vfs.java:108)
[INFO] at org.jboss.errai.reflections.Reflections.scan(Reflections.java:213)
[INFO] at org.jboss.errai.validation.rebind.GwtValidatorGenerator$ContraintScanner.<init>(GwtValidatorGenerator.java:69)
[INFO] at org.jboss.errai.validation.rebind.GwtValidatorGenerator.generate(GwtValidatorGenerator.java:79)
[INFO] at org.jboss.errai.validation.rebind.ValidatorFactoryGenerator.generate(ValidatorFactoryGenerator.java:63)
[INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:657)
[INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
[INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
[INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
[INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
[INFO] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:355)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:433)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:237)
[INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:243)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
[INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
[INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
[INFO] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
[INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:133)
[INFO] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:434)
[INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:403)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:900)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:625)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:640)
[INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[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 [Reflections] Reflections took 16564 ms to scan 269 urls, producing 14395 keys and 79176 values
[INFO] INFO [ValidatorFactoryGenerator] Generated validator factory in 16898ms
[INFO] INFO [Version] Hibernate Validator 4.1.0.Final
[INFO] INFO [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:42.720s
[INFO] Finished at: Wed Mar 25 19:29:20 CET 2015
[INFO] Final Memory: 78M/798M
[INFO] ------------------------------------------------------------------------
Does anyone have any ideas?