From the course: Java EE: Application Servers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Deploy WAR files in WildFly

Deploy WAR files in WildFly

From the course: Java EE: Application Servers

Start my 1-month free trial

Deploy WAR files in WildFly

- [Instructor] Because it's a bit different on every application server, let's walk through how to deploy a WAR file in WildFly. Let's go ahead and ensure our practice files are open in IntelliJ. We'll be using practice file zero three underscore zero four begin. Here I've already done this. And from the terminal window below, the command line window, we're going to type gradle clean build and hit enter. It shouldn't take very long at this point to build. Let's switch back to our WildFly instance, we'll go to start on deploy, click on the plus symbol, upload a deployment, choose the file, and we're going to navigate to our practice files, chapter three, zero three four begin, go to the build, and libs, and there's our WAR file, click open, and click next. We're going to leave the filled enabled off for right now. Click finish. It shows that deployment was successful. We'll click on view deployment, and then click enable. As you can see here, we got a error message. And specifically…

Contents