New to IntelliJ, I am wondering, How can I create a war or ear file from class of java and deploy it to JBOSS. I have created the jar file using JAR command and getting message
C:\jboss-5.1.0.GA\bin\run.bat -c default
[2013-02-20 11:01:27,839] Artifact calculator-manager:jar: Server is not connected. Press 'Deploy' to start deployment.
Files was unexpected at this time.