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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:27:36+00:00 2026-06-14T15:27:36+00:00

There’s a bug in JSF loading mechanism for managed beans annotated with annotation @ManagedBean

  • 0

There’s a bug in JSF loading mechanism for managed beans annotated with annotation @ManagedBean. The mechanism is not activated when running the app via mvn jetty:run. The bug is reported here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=288243

This is a very nasty thing, because jetty:run have great advantages when debugging:

  • it is fast
  • it works directly with the jsf files from workspace, without need to use FileSync plugin

However, not supporting the annotation would require downgrading to XML configuration.

Is there any work-a-round for this bug?

  • 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-14T15:27:38+00:00Added an answer on June 14, 2026 at 3:27 pm

    source : the link you provided in your question , read Tomaz Lipinsi comments

    Hi, I’ve found a easy workaround for this problem. Actually I don’t
    use Jetty but Tomcat and Sysdeo Tomcat Launcher but it behaves the
    same. JSF2 is looking for annotated classes in two places:
    – WEB-INF/classes – so if the app is not packaged into .war, this directory does not exist
    – classpath jars (WEB-INF/lib) – similar as above I’ve tried to override default com.sun.faces.spi.AnnotationProvider to my own so I
    could provide him a list of my classes (see JavaDoc for this class).
    While I was trying to do this then I hit upon an idea that I could
    just simply put my compilled classes in WEB-INF/classes dir. Adding
    this to pom.xml solved the problem:
    src/main/webapp/WEB-INF/classes
    The drawback is that now I have compiled classes in source
    dir but the most important is that it works.

    Suggest you to read all the comments there.

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

Sidebar

Related Questions

there is a way to specify in app.json, where I include js files, not
There is a moment in my app, that I need to force to show
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
There are similar questions asked here, but was not able to find something close
There's a bug in FireBug: I accidentally clicked where the line numbers are, which
There is an error occurring in an app of mine when I set an
There is a column that exists in 2 tables. In table 1, this column
There's a Rails 3.2.3 web application which doesn't use any database. But in spite
There is a directed graph having a single designated node called root from which
There are two intents on the receiver side which are called from 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.