NetBeans 8 provides native support for WildFly 8. Sometimes however, WildFly can fail to start from within NetBeans. In these instances, the following error is displayed within the NetBeans “WildFly Application Server” output window.
Calling "C:Dev\Tools\wildfly-8.0.0.Final\bin\standalone.conf.bat" | was unexpected at this time. This error has been reported as NetBeans error 242661. To get around the problem, bring up the server properties for WildFly (right click on WildFly in the services tab and choose Properties).