facebook

2 problems at starting with MyEclipse [Closed]

💡
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. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #212838 Reply

    JosWinkel
    Member

    Since yesterday Im trying to get MyEclipse 3.8.0 running in combination with Tomcat 5.0.27 on Windows XP.

    Problem 1:
    When I try to create a new servlet in perspective MyEclipse I get the following error: Creation of element failed See error log for more details.
    The error log says:
    Internal error

    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:314) ………………etc. etc.

    Caused by: java.lang.StringIndexOutOfBoundsException
    at java.lang.StringBuffer.insert(Unknown Source)
    at com.aston.wizards.servlet.NewWebXmlLinkCreationWizardPage.ā(Unknown Source)…………………….etc. etc.

    Problem 2:
    While just following the online MyEclipse tutorial (with HelloWorld etc.) seems that at my computer a created package is not recognized while trying to run a jsp file. Also the page directive gives a problem while trying to import the (new) package.

    I hope there is someone who can help me!
    Thanks,
    Jos

    #212841

    Riyad Kalla
    Member

    1) Known bug that has been fixed a release should be released today.

    2) JOS there are many known JSP Editor bugs that were fixed that will be in the service (3.8.1) release. However I don’t understand your “seems that at my computer a created packaged is not recognized” problem… can you describe what is happening here?

    #212862

    JosWinkel
    Member

    Thanks for the very fast answer!

    I found a workaround for problem 1: delete the web.xml that was generated before.

    According to your question about problem 2:
    in the helloWorld tutorial from the MyEclips site a file helloWorld.jsp is made. In the tutorial the page directives are automatically generated as soon as hw (the new HelloWorld class) is instantiated. That is not working in my configuration: I get <package>.HelloWorld. This isn’t the big problem though. The big problem is when trying to open helloWorld.jsp it generates messages like: “<package> does not exist”. Also about manually appended page/importdirectives to the <package>.
    When I make a new servlet with generating web.xml ( after throwing away the old one; see above) than erverything goes well with the helloWorld.jsp! So I guess it needs a proper web.xml?!
    Jos

    #212872

    Riyad Kalla
    Member

    Jos,
    Ok I understand you now, the FQN (package name + class name) problem is known and will be fixed shortly (after 3.8.1) the other problem is likely related to many import bugs we had with the JSP editor that should be fixed with the new release later today.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: 2 problems at starting with MyEclipse [Closed]

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