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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:40:14+00:00 2026-05-15T14:40:14+00:00

I am working on a webapp that uses both the Spring Framework and RESTEasy.

  • 0

I am working on a webapp that uses both the Spring Framework and RESTEasy. The app has been configured to send REST requests for some time, but I recently set it up to receive REST requests as well. I configured my web.xml appropriately, and the app has received and processed REST requests with no problem.

here is a web.xml snippet, detailing the REST setup:

<listener>
    <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>

<listener>
    <listener-class>
        org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
    </listener-class>
</listener>

...

<servlet>
    <servlet-name>Resteasy</servlet-name>
    <servlet-class>
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
    </servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>Resteasy</servlet-name>
    <url-pattern>/AutomatedProcessing/rest/*</url-pattern>
</servlet-mapping>

However, when I walk around the app in a browser, I keep seeing these exceptions in the log:

    org.jboss.resteasy.springmvc.ResteasyHandlerMapping - Resource Not Found: Could not find resource for relative :
org.jboss.resteasy.spi.NoResourceFoundFailure: Could not find resource for relative : /AccountManagement/login.do of full path: https://dev.produceredge.com:7002/AccountManagement/login.do

It seems to me like REST is suddenly trying to handle all requests, not just requests that match the /AutomatedProcessing/rest/* URL pattern.
I have found no details on the NoResourceFoundFailure exception, or why REST would be trying to handle requests outside of its assigned URL pattern. The exception isn’t fatal to the user, but I think it might be destroying something I don’t know about. Plus, exceptions in the logs are never fun. I would greatly appreciate any insight on this exception!

  • 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-15T14:40:14+00:00Added an answer on May 15, 2026 at 2:40 pm

    The answer came from an ordering issue.

    I had another UrlHandlerMapping set up in a config.xml file:

    <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
            <property name="interceptors">
                <list>
                    <ref bean="openPersistenceManagerInView"/>
                </list>
            </property>
            <property name="mappings">
                <value>
                    **/AccountManagement/login.do=flowController
                    **/AccountManagement/createAccount.do=flowController
                    **/AccountManagement/manageAccount.do=flowController
                </value>
            </property>
            <property name="alwaysUseFullPath" value="true"/>
        </bean>
    

    This mapping did not have an “order” property, meaning that the order was set at the default value.
    The ResteasyHandlerMapping, which handles mapping RESTEasy resources, was found in the JBoss included sprincmvc-resteasy.xml file. This mapping also did not have the “order” property.
    This lead to both mappings having the same ordering priority, and since the RESTEasy mapping came first in the XML, it tried to handle all requests.

    Solution: add this property to your default url mapper:

    <property name="order" value="0"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A client im working for has created a web app that uses a password
I'm working on an app that uses a certain webapp's API. The API requiers
I am working with a fairly old web app that uses MySQL as the
I am working on a web-app system that has multiple apps, each with a
I'm working on a PHP-based webapp that has an existing MySQL database where all
Using Visual Studio 2008 and VB.Net: I have a working web app that uses
I'm working to build a web app that uses the WebKit Touch Events JS
I am working on a Java web app that uses Struts 2 with the
I have an existing java webapp that uses Hibernate for it's persistence. I've been
I am working on a web app that uses Extjs components, PHP, and MySQL.

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.