Using Eclipse for project development, adding @Override before a method in an implementation class indicates a “Multiple Markers at this line” error. The problem is described below
Multiple Markers at this line
– The Method getStudentById (String) of type StudentBeanImpl must override a superclass method
plements. Multiple Markers at this line
– The Method getStudentById (String) of type StudentBeanImpl must override a superclass method
-implements mgr.jc.student.service.IStudentBean.getStudentByID

Reason for this problem: JDK1.5 does not support this notation. Implementing interface methods requires overriding abstract methods.
The solutions to the above problems are as follows:
Method 1. Select Eclipse Window→Preferences→Java→Compiler and change the Compiler Compliance Level from 1.5 to above 1.6.

Right-click on Project and select the last Properties. Select the Java Compiler on the left, check the box inside, and change the Java Editor version to 1.6.

Method 3. Right-click the JRE System Library[javase-1.5]→Properties under Project, and select “javase-1.6 (jdk1.6.0_10)” and click OK.

All the above three methods can solve the problem mentioned in the question, you can choose the corresponding solution according to your own habits.
Multiple Markers at this line
– The Method getStudentById (String) of type StudentBeanImpl must override a superclass method
plements. Multiple Markers at this line
– The Method getStudentById (String) of type StudentBeanImpl must override a superclass method
-implements mgr.jc.student.service.IStudentBean.getStudentByID

Reason for this problem: JDK1.5 does not support this notation. Implementing interface methods requires overriding abstract methods.
The solutions to the above problems are as follows:
Method 1. Select Eclipse Window→Preferences→Java→Compiler and change the Compiler Compliance Level from 1.5 to above 1.6.

Right-click on Project and select the last Properties. Select the Java Compiler on the left, check the box inside, and change the Java Editor version to 1.6.

Method 3. Right-click the JRE System Library[javase-1.5]→Properties under Project, and select “javase-1.6 (jdk1.6.0_10)” and click OK.

All the above three methods can solve the problem mentioned in the question, you can choose the corresponding solution according to your own habits.
Read More:
- @Solution to override error
- Eclipse .java File Syntax error, parameterized types are only available if source level is 1.5 or
- “Method does not override method from its superclass”
- Syntax error, insert “Finally” to complete TryStatem in Myeclipse in Java-
- Eclipse can’t open an error: Error:could not find java SE Runtime Environment/Error: could not find java.dll
- Android learning notes 03: some problems and solutions in the learning process
- eclipse cdt Program “make” not found in PATH
- import org.junit.Test And @ test error reporting — solutions
- Start Eclipse and pop up the “Failed to load the JNI shared library jvm.dll” dialog box
- Set code indent to space indent in eclipse
- Solution to garbled code problem after importing project in eclipse
- Eclipse package explorer related problems and Solutions
- Failed to load the JNI shared library solution
- Syntax error, annotations are only available if source level is 1.5 or greater.
- Eclipse automatic prompt setting method and optimization
- Conversion to dalvik format failed with error 1 solution
- Eclipse Syntax error, annotations are only available if source level is 1.5 or greater
- Eclipse startup error: an error has occurred.See the log file E:\workspace\.metadata\.log.
- Some problems and solutions of Java Web
- Change API level Android studio