facebook

Upgraded to ME 9.0 GA Will not compile @Override correctly

💡
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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #315671 Reply

    mangelo123
    Participant

    I am using version 9.0-20110318. I pulled over all of my projects and wherever @Override is located in the code I get the following error:

    The method xxxxx of type yyyyy must override a superclass method.

    I’ve been working just fine in 8.6.

    Please help!

    #315678

    mangelo123
    Participant

    I resolved this problem by clicking off the ‘Allow project specific settings’ under the Java compiler version. Now when I deploy under Tomat and run, the app has tons of Javascript errors that are resources of RichFaces 3.3.3. This app has been developed and working just fine with the same Tomcat 6.x server and MyEclipse 8.6.

    So far, this has not been a very good experience trying to move to 9. I’m just glad that I didn’t try updating 8.6 and a separate install instead.

    #316042

    support-joy
    Member

    mangelo123,

    My apologies for the late reply. For some reason this post slipped through the radar. Good to hear you found a workaround.
    I am afraid, it is not clear to me as to what is the exact issue and root cause. To help me investigate this further, could you please send a mail to support@genuitec.com with the following details –
    1. Please include a sample project and include a reference of this post
    2. Please add the installation details, here is the FAQ on how to retrieve installation details – https://www.genuitec.com/forums/topic/troubleshooting-how-to-view-the-installation-details/&highlight=
    3. A screenshot of the issue you are facing, this would help me get a visual
    4. Your .log file located at [your workspace dir]/.metadata/.log
    5. What are the steps taken that resulted in the above issue? You mention pulled over my project – do you mean using your old workspace / checking out the project from cvs/svn etc / importing the project from another workspace? If you are referring to your old workspace, can you please let me know the version of ME you were using earlier?
    6. Could you also attach a screenshot of MyEclipse Configuration Center > Software tab. This would give me an idea of any 3rd party plugins you have added to your profile.
    7. Please include a reference of this weblink and add ATTN:Joy in the subject, this would help in quick tracing.

    Sorry for the inconvenience.

    #316824

    Robert Varga
    Participant

    @mangelo123 wrote:

    I am using version 9.0-20110318. I pulled over all of my projects and wherever @Override is located in the code I get the following error:

    The method xxxxx of type yyyyy must override a superclass method.

    I’ve been working just fine in 8.6.

    Please help!

    Please make sure that your project is not somehow configured to use Java 5 instead of Java 6 (Java 5 is allergic to @Override on the method implementing an abstract method or a method from an interface).

    Best regards,

    Robert

    #316837

    support-joy
    Member

    Robert,

    What is the type of project, and what is the Java EE library added to your project’s build path? Do you see these issues reported in the problems tab? A faster way to fix this issue would be, right click on the issue in problems tab and click on [quick fix]. If your project needs Java 6 instead of Java 5, do the following –
    1. Right click on your project > Build Path > Configure Build Path. Choose the libraries tab and check what is the Java library added.
    2.

    Please make sure that your project is not somehow configured to use Java 5 instead of Java 6 (Java 5 is allergic to @Override on the method implementing an abstract method or a method from an interface).

    Is this issue logged in your .log file? If yes, right click on the project > build path > configure build path. Choose the libraries tab. Check if Java EE 6 or relevant libs are added to your project build path. If no, click on [add library] > choose myeclipse libraries > select Java EE 6 libraries > Click on [Finish] and [OK]
    3. Right click on the project > close project. Right click on the project > Open project. Refresh the project and check if this issue recurs?

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Upgraded to ME 9.0 GA Will not compile @Override correctly

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