The home directory does not exist or is missing a required file or folder: modules\org\jboss\as\server\main
To Solve this problem
1) As shown in image above change the configuration file to the exact path inside the JBOSS installation directory. For me it was C:\Jboss\Jboss\standalone\configuration\standalone.js
2) The other thing that needs to be done is . You need to change the JRE to point to a JDK or follow this post.