For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 2 voices, and was last updated 17 years, 7 months ago by
Loyal Water.
-
AuthorPosts
-
rhosigmaMemberHello,
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.
January 9, 2009 at 8:17 am #293295
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
January 12, 2009 at 6:39 am #293351
rhosigmaMemberThese 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-200710Eclipse Platform
Version: 3.3.3Eclipse RCP
Version: 3.3.3Eclipse Java Development Tools
Version: 3.3.2Eclipse Plug-in Development Environment
Version: 3.3.3Eclipse Project SDK
Version: 3.3.3Eclipse 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.exeJanuary 12, 2009 at 1:12 pm #293408
Loyal WaterMemberrhosigman,
If you switch back to 1.5, does the scrap page work for you? I was unable to replicate the issue at my end.January 14, 2009 at 1:38 am #293482
rhosigmaMemberNo, 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”);January 14, 2009 at 1:52 am #293483
rhosigmaMemberI 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.
January 14, 2009 at 2:07 pm #293515
Loyal WaterMemberGlad you got the solution. Thanks for letting us know.
-
AuthorPosts
