I create a new maven web project in intellij. I add tomcat server for it and in deployment section of server add my artifact.
My project name is spline
and output directory in project structure-aritfact is:
C:\Users\abasaleh\Desktop\myChart\spline\out\artifacts\spline.
when I run it, I encounter with this alert:
C:\Users\abasaleh\Desktop\myChart\spline\out\artifacts\spline\spline.war not found for the web module.
and this server error:
[2014-02-24 01:58:34,679] Artifact spline: Error during artifact deployment. See server log for details.
please help me. thankes.
my pom.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>spline</groupId>
<artifactId>spline</artifactId>
<version>1.0-SNAPSHOT</version>
</project>