0 Replies Latest reply on Apr 4, 2013 1:12 PM by Charles Odili

    Errai-Cordova deployment exception

    Charles Odili Apprentice

      Got a demo errai-cordova app generated by the errai maven acrhetype. mvn clean package command succeds but deploying the app to my local JBoss AS  7.1.1.Final server raises this exception:


      18:02:09,386 ERROR [org.jboss.errai.reflections.Reflections] (Thread-84) could not create Vfs.Dir from url. ignoring the exception and continuing: org.jboss.errai.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [vfs:/home/dilim/jboss-as-7.1.1.Final/standalone/deployments/unitalk-mobile.war/WEB-INF/lib/errai-tools-3.0-SNAPSHOT.jar/]

      Available types: [jarfile, jarUrl, directory, vfsfile, vfszip, org.jboss.errai.common.metadata.WarUrlType@1bbd7aae]

      Do you need to add app server specific support to your deployment? (For example, errai-jboss-as-support for AS7)

                at org.jboss.errai.reflections.vfs.Vfs.fromURL(Vfs.java:126) [reflections-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.reflections.vfs.Vfs.fromURL(Vfs.java:108) [reflections-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.reflections.Reflections.scan(Reflections.java:221) [reflections-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.common.metadata.MetaDataScanner.<init>(MetaDataScanner.java:117) [errai-common-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.common.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:225) [errai-common-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.common.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:213) [errai-common-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.common.metadata.ScannerSingleton$1.call(ScannerSingleton.java:38) [errai-common-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at org.jboss.errai.common.metadata.ScannerSingleton$1.call(ScannerSingleton.java:31) [errai-common-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_17]

                at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_17]

                at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]

       

      Don't know what this is or how to fix it, the app actually deploys since the exception does not seem to prevent/stop the deployment, however the GWT dev mode fails with a funny error on the console:

       

      Loading modules

         com.bitrunk.apps.unitalk.mobile.KitchenSink

            [ERROR] Unable to find 'com/bitrunk/apps/unitalk/mobile/KitchenSink.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

      [ERROR] shell failed in doStartup method

       

      Funny because KitchenSink.gwt.xml is actually in the said path.