1 Reply Latest reply on May 20, 2014 9:15 AM by Max Barkley

    Cannot run Errai-tutorial in GWT dev mode

    jone emay Newbie

      Hello every body,

       

      Trying to run the Errai-tutorial in GWT Dev mode. Butt still get this exception:


      [INFO] create exploded Jetty webapp in C:\Users\xxx\Documents\workspace\errai-tutorial-master\src\main\webapp

      [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: org/wildfly/security/manager/WildFlySecurityManager

      [ERROR] at org.jboss.as.cli.CommandContextFactory.getInstance(CommandContextFactory.java:39)

      [ERROR] at org.jboss.errai.cdi.server.as.JBossServletContainerAdaptor.<init>(JBossServletContainerAdaptor.java:69)

      [ERROR] at org.jboss.errai.cdi.server.gwt.JBossLauncher.start(JBossLauncher.java:117)

      [ERROR] at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

      [ERROR] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)

      [ERROR] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)

      [ERROR] at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      [ERROR] Caused by: java.lang.ClassNotFoundException: org.wildfly.security.manager.WildFlySecurityManager

      [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

      [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

      [ERROR] at java.security.AccessController.doPrivileged(Native Method)

      [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

      [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

      [ERROR] ... 7 more

       

       

      I'm using:

      JBoss developer Studio 7.1.1 GA

      Errai: 3.0

      And I'm using the tutorial:

      Errai Reference Guide

       

       

      Thanks