facebook

org.springframework.web.jsf.DelegatingVariableResolver

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #257170 Reply

    In my faces-config.xml file I have:
    <application>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    <locale-config>
    <default-locale>en</default-locale>
    <supported-locale>en</supported-locale>
    </locale-config>
    </application>
    and a little error that says “org.springframework.web.jsf.DelegatingVariableResolver is not a subtype of javax.faces.el.VariableResolver”

    Checked the spring source, and it does inherit, directly from the class in question.
    Not sure why this is the case, and can’t find it in the forums, although I remember it being mentioned at least once.

    What operating system and version are you running?
    Redhat Fedora Core 5

    What Eclipse version and build id are you using? (Help > About Eclipse Platform)
    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    – Was Eclipse freshly installed for MyEclipse?
    Yes.

    – If not, was it upgraded to its current version using the update manager?
    – Are any other external plugins installed?
    Yes

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    2

    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    5.0.0
    What JDK version are you using to run Eclipse? (java -version)
    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    What JDK version are you using to launch your application server?
    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    What steps did you take that resulted in the issue?
    Fired up eclipse in the workspace, and it validated everything and voila!

    What application server are you using?
    Tomcat

    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
    Not that are MyEclipse or Eclipse related.

    *** Date: Fri Aug 18 15:50:03 MST 2006

    *** System properties:
    OS=Linux
    OS version=2.6.17-1.2157_FC5smp
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0.0
    Build id: [build id]

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /usr/local/eclipse3.2/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    95f0021
    -product
    com.genuitec.myeclipse.product.ide
    -vm
    /usr/bin/java

    #257220 Reply

    Riyad Kalla
    Member

    We’ve had this error reported 4 times already and I tried to locally in my 5.0.1 installation and there is no error marker…. can you try upgrading to 5.0.1 usiong the updated manager and then restart and try and use a new workspace (File > Switch Workspace) and then specify a new test project wth JSF and Spring caps, then try and create that entry and see if it works for you?

    #257253 Reply

    Ok, figured out what my problem is. I have three project – DevCore, ProjectCore, and ProjectJSF. DevCore is a lot of classes that I use on a semi regular basis, and jars that are common to all projects. The spring.jar actually lives there. ProjectCore is the business logic and dao classes of the project, and depends on DevCore. ProjecJSF is the JSF front end, and depnds on ProjectCore.
    I have the spring.jar exported from DevCore, through to ProjectJsf.
    If I put the spring.jar file in ProjectCore and ProjectJsf, I have no issues. Set it up my way, and you should be able to re-create the problem.

    #257275 Reply

    Riyad Kalla
    Member

    Very cool, thanks for following up.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: org.springframework.web.jsf.DelegatingVariableResolver

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