- This topic has 17 replies, 6 voices, and was last updated 18 years, 9 months ago by
support-eugene.
-
AuthorPosts
-
support-eugeneMemberCan’t reproduce. Did the following thing:
1. Created new web project.
2. Added JSF caps.
3. Added Spring caps (core & web)
4. Copy/pasted the config from the previous post.
5. Created the com.lhsystems.prototype.jsf.bean.UserBean class to remove “class not found error”.I suspect something’s wrong with the build path. Please check the hierarchy of the org.springframework.web.jsf.DelegatingVariableResolver class (Ctrl+Shift+H is the default shortcut for this)
Stefan ScheidtMemberHello,
I can reproduce the problem with Eclipse 3.1.2 + MyEclipse 4.1.1 and Eclipse 3.2RC7 + MyEclipse 5.0 M1
I’ve tried it with:
– spring.jar exported by another reference project
– spirng.jar in the web project itself, but not located in WEB-INF/lib
– spring.jar in the web project itselt, and stored in WEB-INF/libIn all cases the running application works fine, and the Class DelegatingVariableResolver can be found in Java Source Editor.
The only problem occurs with the faces-config.xml Editor, witch says that DelegatingVariableResolver does not implement VariableResolver.But the problem seems to be that if you look at the type hierarchy of DelegatingVariableResolver, it does not show VariableResovler.
If you attach the spring sources, open DelegatingVariableResolver, place the cursor to Variable Resolver in the Line …DelegatingVariableResolver extends VariableResolver…, hit the right mouse button and try to open decleration of Variable Resolver, it does not open. (Status bar says “Current text selection does not resolve to a java element”) But “Open Type” works. ??? Strange, huh?Any Ideas?
Regards
Stefan
support-eugeneMemberStefan,
Can you please describe how you configure your project:
1. Did you add spring Jars using MyEclipse “Add Spring Support Wizard” or if you added reference to one of MyEclipse libraries. Did you copy them manually? If yes, can you try using our wizard.
2. What JSF implementation did you use? I tried both Sun RI and MyFaces.
3. If you can, please verify if this problem is still in MyEclipse 5.0M2.
4. Could you send us the project that has these problems? -
AuthorPosts