facebook

jsp editor don’t see my HelloWorld clas in code completion

💡
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. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #229729 Reply

    boissed
    Member

    I do the Web development demo and I can see my class HelloWorld in the list
    that the code completion give to me in the scriplet.

    I have EclipseM6 with MyEclipseM6 ( suppose to be compatible )

    Thank you for you’re help

    #229730

    Riyad Kalla
    Member

    You class HelloWorld and JSP Page cannot be named the same name (HelloWorld.java and HelloWorld.jsp) change the name of the HelloWorld class to HelloWorldBean.java or something like that.

    Also your class must be in a package, it cannot be in the default package.

    #229746

    boissed
    Member

    First of all, thank you for you’re answer

    I did exactly what the “Web development demo” ask me to do:
    The name of my java Class is : HelloWorld.java
    The name of my JSP page is: helloWorld.jsp
    I create my java Class in the “com.genuitec.test” package
    The JSP page is locate in “/HelloWorld/Web Root” file path

    So I think I respected the two points that you’re said

    Thank in advance for you’re help

    #229748

    Riyad Kalla
    Member

    The name of my java Class is : HelloWorld.java
    The name of my JSP page is: helloWorld.jsp

    Try and change the name of either the Java file or JSP file, there is a bug in the editor that currently doesn’t like it when they are named the same thing.

    #235273

    Laurent Wulser
    Participant

    I’ve exactly the same problem. I’ve modified the both name (jsp file and java file), i’ve tried to add another java class in another package, but the code completion don’t work for the class. The code completion work only for html tag, and some other jsp tags.

    Thanks in advance.

    #235275

    Laurent Wulser
    Participant

    I’ve changed the name has new and it work fine. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: jsp editor don’t see my HelloWorld clas in code completion

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