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 7763915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:46:48+00:00 2026-06-01T14:46:48+00:00

I am attempting to deploy my webapp using maven to an embedded tomcat server.

  • 0

I am attempting to deploy my webapp using maven to an embedded tomcat server. I am running into issues.

My project is a multi-module maven project. I have a number of “jar” modules, and then a web-app that uses these jars. When I deploy to a locally installed tomcat server, it works properly. When I have already built and installed the other jars, then separately build and deploy the webapp to the embedded server, it also works properly. When I attempt to build the entire project, jars and the webapp, the embedded tomcat server deployment fails. Whatever I try, it always comes down to one of my jars seems to not be deployed. Tomcat complains that it cannot find some class that is located within this one jar. When I remove that class, then Spring complains that it cannot find a applicationContext.xml file which is located within this same jar. It comes down to one of my jars is not being found.

I have been trying to investigate why this jar is not being found. I ran maven with the -X to get more data. I did find this:

[DEBUG] add dependency to webapploader com.myproject:security-lib:1.0-SNAPSHOT:compile
[DEBUG] skip adding artifact security-lib as it’s in reactors

But, I also noticed that all of my own jars get this same message. They seem tobe found by tomcat.

Does anyone have any suggestions why my embedded tomcat server is not getting this jar file? And why the embedded tomcat server works when I deploy it by itself, but does not work when I deploy it while building the entire project? Any tips on debugging this would be appreciated.

  • 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-01T14:46:49+00:00Added an answer on June 1, 2026 at 2:46 pm

    I found the issue. I was using the “run” goal. I intended to use the “run-war” execution goal for the tomcat-maven-plugin.

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

Sidebar

Related Questions

I have a Django app we're attempting to deploy to a Tomcat server, using
I am using Capistrano to deploy a ruby on rails project. I am attempting
Attempting to deploy a MOSS solution to a UAT server from dev server for
I am attempting to deploy a RoR app using Passenger onto my DreamHost hosting
I have setup a build configuration in TFS2010 with MSBuild arguments to deploy using
I am using eclipse and I can build the webapp and deploy it to
I'm attempting to deploy to a war file in Tomcat 7. It's giving me
I'm attempting to deploy my symfony2 app to my ec2 instance. I have my
I'm attempting to deploy ODP.Net with my application using the Oracle Instaclient. While reading
I'm attempting to deploy a RIA services 1.0SP1 project that has been precompiled with

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.