facebook

JSFLogin Demo / JSP / UserBean not resolved on Linux…

💡
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 IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #267623 Reply

    parthiv117
    Member

    Hi,

    when I tried the JSFLoginDemo for MyEclipse on my Linux box, the userLogin.jsp and userLoginSuccess.jsp both can not resolve the UserBean.

    <h:commandButton value=”#{bundle.login_button_label}” rendered=”true”
    action=”#{UserBean.loginUser}” id=”submit” /> 

    It says UserBean can not be resolved.

    Any idea why? What could I be missing in my path?

    Thanks for the help

    #267714

    Riyad Kalla
    Member

    Is this an error inside the IDE, or from your app server when you try and load the pages?

    What does your faces-config.xml file look like?

    #267734

    parthiv117
    Member

    Yes this is an error inside my IDE. My faces-config is same as the one provided in the example.

    Actually I got it working by turning the validations off. By default the validations were on in MyEclipse and I disabled them and the compilation error was gone. After this when I deploy the application over Tomcat it worked fine.

    But still any suggestions about how to resolve the bindings during compile time?

    Thanks.

    #267739

    Riyad Kalla
    Member

    Can you send me this project by exporting it to an archive (File > Export > Archive) and then email it to support@genuitec.com ATTN Riyad, with a link to this thread for reference?

    #267752

    parthiv117
    Member

    Hi Riyad,

    Sent the file to you.

    #267756

    Riyad Kalla
    Member

    I’m not sure if you just sent me the demo project or the project you were working with, but I didn’t get any validation errors of any kind. Autocomplete, validation and deployment/testing seemed to work fine for me.

    Let’s take a look at your install info to see what is going on. Can you copy-paste the information from MyEclipse > Installation Summary > Installation Details here for me?

    #267762

    parthiv117
    Member

    Hi Riyad,

    I sent to you the demo project that I was trying on my system. That project use to give me compilation errors when validations are turned on. It was not able to resolve UserBean under src/com.jsfdemo.bean. But when I suspend all the validations it worked fine.(didn’t give me compilation errors). Because of this, previously when i tried to deploy the application on tomcat and tried to access it via URL it used to give me MissingResource Exception.

    Here are the details of MyEclipse installation

    ———————————————————————————————————–

    *** Date: Tue Mar 20 16:41:48 EDT 2007

    *** System properties:
    OS=Linux
    OS version=2.6.9-42.7.EL
    Java version=1.5.0_09

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

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

    *** Eclipse details:
    Eclipse Platform

    Version: 3.2.0
    Build id: M20060921-0945

    Eclipse Platform

    Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
    Build id: M20060921-0945

    Eclipse Java Development Tools

    Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
    Build id: M20060921-0945

    Eclipse Graphical Editing Framework

    Version: 3.2.1.v20060921
    Build id: 20060921-1617

    Eclipse RCP

    Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
    Build id: M20060921-0945

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20060921-0945

    Eclipse Project SDK

    Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
    Build id: M20060921-0945

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060921-1617

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /opt/jive/packages/eclipse/current/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    6c0005
    -showlocation
    -data
    /users/pmalani/workspace
    -vm
    /opt/jive/packages/jdk/current/bin/java

    Thanks.

    #267764

    Riyad Kalla
    Member

    I honestly don’t know what errors you are seeing, I just double checked and the validators are enabled for this project, I introduced some bugs in the code and they were caught, then I removed them and they were corrected, and I don’t see any issues with it.

    Can you take a screenshot of some of the problems you are seeing and PM them to me? Also what resource error what Tomcat giving you?

    #270123

    dpinell
    Member

    Don’t know if this is the same situation but at first the IDE marked the bundle and UserBean as unresolved. Right-clicking in the jsp file(s) and then MyEclipse->Run Validation resolved the display.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: JSFLogin Demo / JSP / UserBean not resolved on Linux…

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