facebook

Problem with Springs Implemantation of jsf VariableResolver

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #264903 Reply

    I get the Error in Eclipse
    org.springframework.web.jsf.DelegatingVariableResolver is not a subtype of javax.faces.el.VariableResolver WebRoot/WEB-INF/faces-config.xml

    But it is! If i deploy to resin or jboss everithing works fine 🙂

    I’m useing Spring 2.0.1 and myfaces 1.1.4. All jars are in the classpath of my eclipse projekt and as i say: deployment works fine.

    here is a snip of the faces-config.xml

    <application>
    <message-bundle>messages</message-bundle>
    <variable-resolver>
    org.springframework.web.jsf.DelegatingVariableResolver
    </variable-resolver>
    <locale-config>
    <default-locale>de</default-locale>
    <supported-locale>en</supported-locale>
    <supported-locale>de</supported-locale>
    </locale-config>
    </application>

    #264936

    Riyad Kalla
    Member

    I believe this was fixed in MyEclipse 5.0… what version of MyEclipse are you running?

    #264963

    I’m running version 5.1.0 GA build 2006111-5.1.0-GA

    what i should mention is, that the error occurred when i changed the spring jar auf my project to a newer version

    first, everything was fine. i used spring 2.0 and no problem with the variableresolver in faces-config.xml
    then i switched over to spring 2.0.1 and the error occurred.

    i gess something withe the rebuild goes wrong after changing the spring-jar, just a gues, i hope it helps you

    btw: thanks for the fast reply

    #264977

    Riyad Kalla
    Member

    I just downloaded Spring 2.0.2 and dropped spring.jar into my JSF/Spring application and removed the Spring library from MyEclipse and cannot reproduce this problem. Here is my test project, please download it, import it and let me know what you see.

    #265044

    your project works for me so i start searching for the difference.

    i found out that it is an export issue by an depended project.
    let me explain:
    1.
    lib-project: exports spring jar
    web-project: no spring jar as lib
    –> the error occurred

    2.
    lib-project: exports spring jar
    web-project: spring jar as lib
    –> the error occurred

    3.
    lib-project: do not exports spring jar
    web-project: spring jar as lib
    –> everything is fine 🙂

    lib and web-project link agains the exact same spring.jar, so it can’t be a version issue.

    i hope you get me and can reproduce it

    #265065

    Riyad Kalla
    Member

    Yes I see the problem now, thank you for the detail, I will file it as a bug.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Problem with Springs Implemantation of jsf VariableResolver

You must be logged in to post in the forum log in