The Runtime plug-in shows the following compilation errors:
JAXBContext cannot be resolved
JAXBElement cannot be resolved
JAXBException cannot be resolved
import javax.xml.bind cannot be resolved
|
The package
javax.xml.bind has been removed from Java 11, so add the following import package statement in your Runtime plug-in's
MANIFEST.MF.
javax.xml.bind;version="[2.0.0,3.0.0)",
javax.xml.bind.annotation;version="[2.0.0,3.0.0)",
|
The plug-in project shows the following compilation errors:
Syntax error, annotations are only available if source level is 1.5 or greater
'<>' operator is not allowed for source level below 1.7
|
- Right click the project and select
Properties.
- In the left pane of the Properties window, click
Java Compiler.
- Select the
Enable Project Specific Settings check box.
- From the
Compiler compliance level: drop down list, select
1.8.
- Click
Apply and Close.
|