facebook

Unable to use Scrapbook Page

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

    rhosigma
    Member

    Hello,

    I’m trying to execute, display or inspect code on a scrapbook page. In each case it does not work, even with a simple

    System.out.println(“Hello”);

    I get the error message:

    The method run() of type CodeSnippet_1 should be tagged with @Override since it actually overrides a superclass method

    I’m using the MyEclipse workbench Version: 6.0.1 with jdk1.6.0_07.

    Does anyone has any suggestions?

    At the time of this writing I only found Posts from 2002 or older like http://dev.eclipse.org/newslists/news.eclipse.tools/msg27052.html . Do I forget to configure something? To create the scrapbook page I used the wizard in different java projects without any success.

    Best regards,

    rhosigma.

    #293295

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #293351

    rhosigma
    Member

    These are my properties. Java 1.5 was shipped with myEclipse. However, I use jdk1.6.0_07 (–> preferences –> java –> installed JREs.)

    *** Date:
    Monday, January 12, 2009 1:30:42 PM CET

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Platform
    Version: 3.3.3

    Eclipse RCP
    Version: 3.3.3

    Eclipse Java Development Tools
    Version: 3.3.2

    Eclipse Plug-in Development Environment
    Version: 3.3.3

    Eclipse Project SDK
    Version: 3.3.3

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Programme\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32\eclipse_1023.dll
    -startup
    C:\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.jar
    -exitdata
    a44_7c
    -vm
    C:\MyEclipse 6.0\jre\bin\javaw.exe

    #293408

    Loyal Water
    Member

    rhosigman,
    If you switch back to 1.5, does the scrap page work for you? I was unable to replicate the issue at my end.

    #293482

    rhosigma
    Member

    No, also switching back to JDK 1.5 results in the same error. I still get the message.

    This is my scapbook after the execution of sysout (independent from the java-Version):

    The method run() of type CodeSnippet_1 should be tagged with @Override since it actually overrides a superclass method
    System.out.println(“A”);

    #293483

    rhosigma
    Member

    I found the solution myself. In the compiler settings in MyEclipse (see preferences-page) I selected for annotations: “Missing @Override Annotation –> ERROR”. With switching to “WARNING” the scrapbook works.

    #293515

    Loyal Water
    Member

    Glad you got the solution. Thanks for letting us know.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Unable to use Scrapbook Page

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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