How to change the maven based server to normal apache serverTomcat Maven Plugin for embedded Tomcat 8.5How can I create an executable JAR with dependencies using Maven?Spring MVC: Controller RequestMapping working, but return always gives a 404java.lang.ClassNotFoundExceptionHow to pack switchyard application with mavendownload the repositories in mavenIntelliJ + Spring Web MVCMigrating existing jersey postgres app to spring bootUnderstanding “globalValidator” in Spring MVCmaven project using rest controller and gave a basic request and gives 404. url : http://localhost:8080/Spring4MVCHelloWorldRestServiceDemo/testrestFailed to read artifact descriptor for org.apac he.maven.plugins
Are space camera sensors usually round, or square?
In what state are satellites left in when they are left in a graveyard orbit?
What's 待ってるから mean?
What was the motivation for the invention of electric pianos?
Which is the current decimal separator?
What was redacted in the Yellowhammer report? (Point 15)
Make 2019 with single digits
How do certain apps show new notifications when internet access is restricted to them?
Mutable named tuple with default value and conditional rounding support
Telling my mother that I have anorexia without panicking her
In Germany, how can I maximize the impact of my charitable donations?
How can I discourage sharing internal API keys within a company?
Newly created XFS filesystem shows 78 GB used
What organs or modifications would be needed for a life biological creature not to require sleep?
Does deswegen have another meaning than "that is why"?
What officially disallows US presidents from driving?
My research paper filed as a patent in China by my Chinese supervisor without me as inventor
Why does the speed of sound decrease at high altitudes although the air density decreases?
How do I say "quirky" in German without sounding derogatory?
Why is the T-1000 humanoid?
Where to disclose a zero day vulnerability
A medieval fantasy adventurer lights a torch in a 100% pure oxygen room. What happens?
I asked for a graduate student position from a professor. He replied "welcome". What does that mean?
3d printed bricks quality?
How to change the maven based server to normal apache server
Tomcat Maven Plugin for embedded Tomcat 8.5How can I create an executable JAR with dependencies using Maven?Spring MVC: Controller RequestMapping working, but return always gives a 404java.lang.ClassNotFoundExceptionHow to pack switchyard application with mavendownload the repositories in mavenIntelliJ + Spring Web MVCMigrating existing jersey postgres app to spring bootUnderstanding “globalValidator” in Spring MVCmaven project using rest controller and gave a basic request and gives 404. url : http://localhost:8080/Spring4MVCHelloWorldRestServiceDemo/testrestFailed to read artifact descriptor for org.apac he.maven.plugins
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
My application only runs on tomcat7-maven-plugin which is present in pom.xml. If I run it on my external tomcat , It gives me error of 404. I tried removing it out of pom.xml, but no use. Any help in this regard is appreciated.
my pom.xml:
<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>com.in28minutes</groupId>
<artifactId>in28Minutes-springmvc</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.2.3.RELEASE</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
my web.xml:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>To do List</display-name>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/todo-servlet.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
my dispatcher servelet:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<context:component-scan base-package="com.in28minutes" />
<mvc:annotation-driven />
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix">
<value>/WEB-INF/views/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
java spring maven spring-mvc tomcat
|
show 5 more comments
My application only runs on tomcat7-maven-plugin which is present in pom.xml. If I run it on my external tomcat , It gives me error of 404. I tried removing it out of pom.xml, but no use. Any help in this regard is appreciated.
my pom.xml:
<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>com.in28minutes</groupId>
<artifactId>in28Minutes-springmvc</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.2.3.RELEASE</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
my web.xml:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>To do List</display-name>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/todo-servlet.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
my dispatcher servelet:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<context:component-scan base-package="com.in28minutes" />
<mvc:annotation-driven />
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix">
<value>/WEB-INF/views/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
java spring maven spring-mvc tomcat
Welcome to SO. Can you please elaborate the steps/actions on: "run it on my external tomcat , It gives me error of 404" ? Do you package your app in awar
viamvn clean package
? Log files to check that the application is deployed on tomcat or any other error? There are many details you have to give than just a plain "it doesn't work"
– pleft
Mar 28 at 10:36
yes, It is war file. I run it through 'tomcat7:run'
– G.Brown
Mar 28 at 10:42
Please show the configuration of the tomcat7-maven-plugin? Are you using a context.xml to configure Tomcat?
– Adriaan Koster
Mar 28 at 10:44
@G.Brown This command uses thetomcat7-maven-plugin
which you stated that it works
– pleft
Mar 28 at 10:45
but it doesn't work on my tomcat server
– G.Brown
Mar 28 at 10:50
|
show 5 more comments
My application only runs on tomcat7-maven-plugin which is present in pom.xml. If I run it on my external tomcat , It gives me error of 404. I tried removing it out of pom.xml, but no use. Any help in this regard is appreciated.
my pom.xml:
<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>com.in28minutes</groupId>
<artifactId>in28Minutes-springmvc</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.2.3.RELEASE</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
my web.xml:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>To do List</display-name>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/todo-servlet.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
my dispatcher servelet:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<context:component-scan base-package="com.in28minutes" />
<mvc:annotation-driven />
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix">
<value>/WEB-INF/views/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
java spring maven spring-mvc tomcat
My application only runs on tomcat7-maven-plugin which is present in pom.xml. If I run it on my external tomcat , It gives me error of 404. I tried removing it out of pom.xml, but no use. Any help in this regard is appreciated.
my pom.xml:
<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>com.in28minutes</groupId>
<artifactId>in28Minutes-springmvc</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.2.3.RELEASE</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
my web.xml:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>To do List</display-name>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/todo-servlet.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
my dispatcher servelet:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<context:component-scan base-package="com.in28minutes" />
<mvc:annotation-driven />
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix">
<value>/WEB-INF/views/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
java spring maven spring-mvc tomcat
java spring maven spring-mvc tomcat
edited Mar 28 at 10:39
pleft
4,7412 gold badges11 silver badges33 bronze badges
4,7412 gold badges11 silver badges33 bronze badges
asked Mar 28 at 10:27
G.BrownG.Brown
4310 bronze badges
4310 bronze badges
Welcome to SO. Can you please elaborate the steps/actions on: "run it on my external tomcat , It gives me error of 404" ? Do you package your app in awar
viamvn clean package
? Log files to check that the application is deployed on tomcat or any other error? There are many details you have to give than just a plain "it doesn't work"
– pleft
Mar 28 at 10:36
yes, It is war file. I run it through 'tomcat7:run'
– G.Brown
Mar 28 at 10:42
Please show the configuration of the tomcat7-maven-plugin? Are you using a context.xml to configure Tomcat?
– Adriaan Koster
Mar 28 at 10:44
@G.Brown This command uses thetomcat7-maven-plugin
which you stated that it works
– pleft
Mar 28 at 10:45
but it doesn't work on my tomcat server
– G.Brown
Mar 28 at 10:50
|
show 5 more comments
Welcome to SO. Can you please elaborate the steps/actions on: "run it on my external tomcat , It gives me error of 404" ? Do you package your app in awar
viamvn clean package
? Log files to check that the application is deployed on tomcat or any other error? There are many details you have to give than just a plain "it doesn't work"
– pleft
Mar 28 at 10:36
yes, It is war file. I run it through 'tomcat7:run'
– G.Brown
Mar 28 at 10:42
Please show the configuration of the tomcat7-maven-plugin? Are you using a context.xml to configure Tomcat?
– Adriaan Koster
Mar 28 at 10:44
@G.Brown This command uses thetomcat7-maven-plugin
which you stated that it works
– pleft
Mar 28 at 10:45
but it doesn't work on my tomcat server
– G.Brown
Mar 28 at 10:50
Welcome to SO. Can you please elaborate the steps/actions on: "run it on my external tomcat , It gives me error of 404" ? Do you package your app in a
war
via mvn clean package
? Log files to check that the application is deployed on tomcat or any other error? There are many details you have to give than just a plain "it doesn't work"– pleft
Mar 28 at 10:36
Welcome to SO. Can you please elaborate the steps/actions on: "run it on my external tomcat , It gives me error of 404" ? Do you package your app in a
war
via mvn clean package
? Log files to check that the application is deployed on tomcat or any other error? There are many details you have to give than just a plain "it doesn't work"– pleft
Mar 28 at 10:36
yes, It is war file. I run it through 'tomcat7:run'
– G.Brown
Mar 28 at 10:42
yes, It is war file. I run it through 'tomcat7:run'
– G.Brown
Mar 28 at 10:42
Please show the configuration of the tomcat7-maven-plugin? Are you using a context.xml to configure Tomcat?
– Adriaan Koster
Mar 28 at 10:44
Please show the configuration of the tomcat7-maven-plugin? Are you using a context.xml to configure Tomcat?
– Adriaan Koster
Mar 28 at 10:44
@G.Brown This command uses the
tomcat7-maven-plugin
which you stated that it works– pleft
Mar 28 at 10:45
@G.Brown This command uses the
tomcat7-maven-plugin
which you stated that it works– pleft
Mar 28 at 10:45
but it doesn't work on my tomcat server
– G.Brown
Mar 28 at 10:50
but it doesn't work on my tomcat server
– G.Brown
Mar 28 at 10:50
|
show 5 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55395299%2fhow-to-change-the-maven-based-server-to-normal-apache-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55395299%2fhow-to-change-the-maven-based-server-to-normal-apache-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to SO. Can you please elaborate the steps/actions on: "run it on my external tomcat , It gives me error of 404" ? Do you package your app in a
war
viamvn clean package
? Log files to check that the application is deployed on tomcat or any other error? There are many details you have to give than just a plain "it doesn't work"– pleft
Mar 28 at 10:36
yes, It is war file. I run it through 'tomcat7:run'
– G.Brown
Mar 28 at 10:42
Please show the configuration of the tomcat7-maven-plugin? Are you using a context.xml to configure Tomcat?
– Adriaan Koster
Mar 28 at 10:44
@G.Brown This command uses the
tomcat7-maven-plugin
which you stated that it works– pleft
Mar 28 at 10:45
but it doesn't work on my tomcat server
– G.Brown
Mar 28 at 10:50