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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:24:51+00:00 2026-05-27T21:24:51+00:00

I have created a web application using Jersey and Dynamic Web Project of Eclipse.

  • 0

I have created a web application using Jersey and Dynamic Web Project of Eclipse. It worked fine when I do ‘Run On Server’.

I wanted to port my project into maven using m2e. I could successfully build WAR file using m2e and ‘Run As –> Maven install’. However, when I do ‘Run As –> Run on Server’ the root classes are not scanned and I get ‘403 Forbidden’ error as a result (proper tomcat user ‘manager’ is created so I think it is not tomcat access issue).

Eclipse console shows that there are no attempts made to scan the root or provider classes (when I run it as plain Dynamic Web Project without maven, it scanned root classes properly). Somehow Jersey application initialization is not happening. It is just not calling ‘com.sun.jersey.api.core.PackagesResourceConfig init’.

When I deploy the m2e generated WAR to standalone tomcat it works fine. I want to debug the web app from Eclipse using eclipse tomcat plugin (just the way it happen in plain Dynamic Web Project without m2e).

Has anyone faced similar problem before? Is there any configuration missing?

  • 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-05-27T21:24:52+00:00Added an answer on May 27, 2026 at 9:24 pm

    Maven Install just installs your app into your Maven repository unless you use other maven plugins to also deploy your WAR file (copy command to put war in deploy folder). Maybe try the other Maven options like Package and see if that works. Also check the projects target folder in eclipse and manually copy your WAR file to the server to see if its the WAR or the server with the problem.The main thing you should do first is verify that the WAR file you compile with maven is the file the server is trying to use.

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

Sidebar

Related Questions

I have created a web application with a Silverlight project embedded in it, using
I have created a new MVC2 project using the ASP.NET MVC2 Web Application, which
I have created a project using the m2 eclipse tool and selected the web
I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template.
I have created a web application using Visualstudio 2008 using C# on my computer.
We have created a web application, using ASP.NET, that allows users to upload documents
I have created a Web Application in asp.net 2.0. which is working fine on
I'm new to Servlet containers and have created a web application using Tomcat 6.0.26.
I have created a java web application using spring. I want the users of
We have a Spring web application created using Spring MVC 3.0 In the same

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.