Vaadin 7 problem after deployment: NoClassDefFoundError

I am running Vaadin 7 with IntelliJ. I am unable to develop my company's project because I am stuck at a problem that occurs after deployment.

The Server tab in IntelliJ says that starting the server and deploying the artifact is successful

Connected to the target VM, address: '', transport: 'socket'
Connected to server
[2020-01-03 01:33:16,250] Artifact CO:war exploded: Artifact is being deployed, please wait...
[2020-01-03 01:33:18,006] Artifact CO:war exploded: Artifact is deployed successfully
[2020-01-03 01:33:18,006] Artifact CO:war exploded: Deploy took 1,756 milliseconds

After that IntelliJ navigates to http://localhost:8080/company on the browser. It displays a 'HTTP Status 404 - Not Found' error. The console says:

  Error in annotation processing: {0}.
java.lang.NoClassDefFoundError: com/vaadin/server/VaadinServlet
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(
    at org.glassfish.web.loader.WebappClassLoader.findClass(
    at org.glassfish.web.loader.WebappClassLoader.loadClass(
    at org.glassfish.web.loader.WebappClassLoader.loadClass(
    at com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(
    at com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(
    at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(
    at org.glassfish.javaee.core.deployment.DolProvider.processDOL(
    at org.glassfish.javaee.core.deployment.DolProvider.load(
    at org.glassfish.javaee.core.deployment.DolProvider.load(
    at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(

Our company hasn't upgraded to higher Vaadin versions yet, and upgrading Vaadin isn't an option for fixing my problem. I can show you some excerpts of files that might be important, such as pom.xml.

Information recap:

Vaadin 7.7.10
Payara Server on local computer

IntelliJ IDEA 2019.3.1 (Ultimate Edition)
Build #IU-193.5662.53, built on December 18, 2019
Runtime version: 11.0.5+10-b520.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

If you have any idea on what might cause this error, please offer suggestions. I am grateful for your help.