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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:49:41+00:00 2026-06-04T01:49:41+00:00

I have a servlet that was running fine until a few days ago. But

  • 0

I have a servlet that was running fine until a few days ago. But the only thing that I’ve changed is the nexus repo I’m using for maven. I’m running the servlet via mvn jetty:run

But when I try to access the site instead of seeing the home page, I see:

HTTP ERROR 500

Problem accessing /. Reason:

    jregex/Pattern

I can access other url’s fine such as /favicon.ico. But I can’t find anything on this jregex/Pattern error and it doesn’t look like the jregex library is being used in the code at all.

I also don’t see any problems in the logs. It looks like requests for the homepage are not making it to my servlet but requests for other pages are.

This is happening on both Arch Linux and Mac OS X 10.7

This is almost certainly a dependency issue because after replacing my ~/.m2 folder with an old one (with dependencies from the old nexus server) it works.

Sometimes I also get:

HTTP ERROR: 503

Problem accessing /. Reason:

    SERVICE_UNAVAILABLE
  • 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-04T01:49:43+00:00Added an answer on June 4, 2026 at 1:49 am

    I would start with comparing the ear / war file created before and after you changed your pom.xml. This should lead you to jar files that were changed. Assumming everything is open source, download sources from maven repo and compare them. \

    Edit: JRegex is a java library with Perl regexp support.
    Perhaps changing maven repo caused downloading other versions of your dependencies, and they have some optional dependency to JRegex. (You should be able to check that).

    Try adding JRegex to your dependencies and see what happens. (Note this whould be a workaround if you’re in production and in a hurry)

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

Sidebar

Related Questions

I have a legacy Java servlet that is currently running in a Tomcat container.
I have a servlet running on GAE and I have a cron job that
My java class (servlet) has been running fine, but recently, I noticed a problem.
I have a servlet that does some business login and then redirects to a
I have a servlet that takes a couple of minutes to process and return
The scenario: I have a servlet that receives xmls, parses them (using JAXB), persists
Under JBoss 4.0.1SP1, I have a servlet that makes multiple, concurrent calls to web
I have a web servlet that returns a json which is stored in my
I have a Java servlet that receives data from an upstream system via a
I have this java servlet that grabs information from a form, I need to

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.