Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8445927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:47:18+00:00 2026-06-10T09:47:18+00:00

This is not technically a programming question, but a question about an error I

  • 0

This is not technically a programming question, but a question about an error I get when deploying my war file from a Maven project.

The error I’m getting after I build my war file, run Tomcat7, and open a browser is:

HTTP Status 404 - /vaadin-test/

type Status report

message /vaadin-test/

description The requested resource (/vaadin-test/) is not available.

I am using Vaadin as my web app platform. I have a very simple project I’m trying to run for testing. I’m using tomcat7-maven-plugin and maven-war-plugin in my POM file. The war plugin configuration looks like this (I don’t think I even need the filtering):

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <version>2.2</version>

            <configuration>
                <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
                <warName>vaadin-test</warName>

                <webResources>
                    <resource>
                        <directory>src/main/webapp/</directory>
                        <filtering>true</filtering>

                        <includes>
                            <include>**/*.xml</include>
                        </includes>
                    </resource>
                </webResources>
            </configuration>
        </plugin>

The web.xml looks like this:

<servlet>
    <servlet-name>myservlet</servlet-name>
    <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>

    <init-param>
        <param-name>application</param-name>
        <param-value>com.catalystitservices.vaadin.TestApp</param-value>
    </init-param>
</servlet>

<servlet-mapping>
    <servlet-name>myservlet</servlet-name>
    <url-pattern>/test-app</url-pattern>
</servlet-mapping>

Whether I try to run mvn tomcat7:run or deploy the created war file to an external Tomcat server (via the manager page) I get the same error. This leads me to think I’m not building the war file correctly. There are no error logs that I can find (but maybe I’m missing them).

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:47:20+00:00Added an answer on June 10, 2026 at 9:47 am

    If you do not have <finalName> specified in your <build> block,
    Maven will create a war name in the following format:

    vaadin-test-1.0.war
    

    Where vaadin-test is the artifact name and 1.0 is the version string.

    Therefore the url you have to refer to is /vaadin-test-1.0 not /vaadin-test

    In addition your vaadin servlet is bound to a url /test-app so after you add the finalName tag , a complete URL should be something like: /vaadin-test/test-app

    NB! Please note that 1.0 here is merely an example, please consult your own pom.xml for the real value

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is not technical, but is still about programming. What is the funniest,
This is not technically a programming question but it does specifically relate to a
HI, O.K, not technically a programming question but it's still relevent for this forum
Not sure if this belongs here because its not technically a 'programming' question, but
This is not technically a programming question but perhaps someone can help me. Yes,
This not a programming question but Most of the programmers using Eclipse should have
This is a moot question as I'm not on this project any more, but
Technically this might not be classed as a programming question, since I have already
This is not really a technical programming question, but has more to do with
This question might not seem very technical but, out of curiosity,I want to know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.