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

  • Home
  • SEARCH
  • 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 9314381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T02:07:11+00:00 2026-06-19T02:07:11+00:00

Eclipse Indigo. M2Eclipse plugin. Tomcat 7. Spring framework. Trying to use the Deployment Assembly

  • 0
  • Eclipse Indigo.
  • M2Eclipse plugin.
  • Tomcat 7.
  • Spring framework.

Trying to use the “Deployment Assembly” option, so that the Maven dependencies of my Eclipse project get automatically added to Tomcat.

This is part of my pom.xml file:

...
<packaging>war</packaging>
<dependencies>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>3.2.1.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>3.2.1.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>3.2.1.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>4.1.9.Final</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-beans</artifactId>
        <version>3.2.1.RELEASE</version>
    </dependency>
</dependencies>
...

I do Project Properties -> Deployment Assembly -> Add -> Java Build Path Entries -> Maven Dependencies.

enter image description here

When I try to add my project to the Tomcat server in Eclipse, I get:

enter image description here

As you can see, only the spring-web dependency gets added to my project, and therefore I get the following deployment error.

SEVERE: Error configuring application listener of class  org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

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-19T02:07:12+00:00Added an answer on June 19, 2026 at 2:07 am

    Try installing the Maven Integration for WTP, aka m2e-wtp https://www.eclipse.org/m2e-wtp/

    It will automatically add the Maven Classpath Library to the deployment assembly AND will respect the maven scopes for each individual classpath entry (i.e deploy compile, runtime dependencies, not test, provided)

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

Sidebar

Related Questions

I use Eclipse Indigo (EE) to build applications in Java framework Vaadin, using Tomcat
I want to install in my eclipse Indigo the plugin m2e-wtp, that allow maven
I use Eclipse (Indigo) with the M2E plugin for maven. Now for some reason
I use Eclipse Indigo and Windows 7 and plugin egit/jgit for Eclipse. How to
I am in Eclipse Indigo and I have installed m2eclipse plugin. I saw in
Eclipse Indigo + Spring IDE for indigo + Spring STS for indigo + maven
I am trying in eclipse Indigo to change the JavaDoc location for Google APIs
I'm running Eclipse Indigo on Mac 10.7.4. I have a Maven (3.0.3) project set
I'm using Eclipse Indigo SR2 with the (built-in) EGit plugin v.1.3.0.201202151440-r and haven't been
I am using Eclipse indigo(Indigo Service Release 1). When am trying to install Activiti

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.