IntelliJ 9.0 JSF EL Issue Referencing Managed Bean

Good Afternoon -

I'm having an issue with IntelliJ not finding a reference to a managed bean configured in the faces-config.xml.  Sometimes it sees it, sometimes it doesn't.  Sometimes restarting IntelliJ makes it work, sometimes it doesnt.  Here's what the error message looks like:

1.png

I have my faces-config correct, and here is a screenshot of the 'Structure' tab in IntelliJ:

2.png

Is this a known issue?  Is there a way to confirm that the config is correct?  Thanks in advance for your help!

1 comment
Comment actions Permalink

Hi Jeff,

Idea collects managed bean links from:

1.  WEB-INF/faces-config.xml (web facet added, web root is configured, Jsf
facet is added)
2. files defined in web.xml, parameter names "javax.faces.CONFIG_FILES"
3. META-INF/faces-config.xml
4. jsf 2.0: classes annotated @ManagedBean

if  your project is configured properly  you could:
1. find manged bean by name (ctrl-alt-shift-N and typing bean name)
2. open "JSF" toolwindow and validate if your bean is in tree

Please check your project configuration.
If it's correct than your problem is "major bug" and I need your help to
reproduce it.
Don't hesitate to write me directly to sergey.vasiliev@jetbrains.com

Serega.

Good Afternoon -

I'm having an issue with IntelliJ not finding a reference to a managed
bean configured in the faces-config.xml.  Sometimes it sees it,
sometimes it doesn't.  Sometimes restarting IntelliJ makes it work,
sometimes it doesnt.  Here's what the error message looks like:

Image:1.png

I have my faces-config correct, and here is a screenshot of the
'Structure' tab in IntelliJ:

Image:2.png

Is this a known issue?  Is there a way to confirm that the config is
correct?  Thanks in advance for your help!

---
Original message URL:
http://www.jetbrains.net/devnet/message/5253114#5253114



0

Please sign in to leave a comment.