eclipse magic: ... Syntax error, varargs are only available if source level is 1.5 or greater
eclipse, java
Solution
Check whether this works:
- Go to your project's `Properties`
- On the Properties dialog choose the `Java Compiler` node in the left tree.
- Finally set the `Compiler compliance level` to 1.5 or more.
- Rebuild the project.
Problem
Yesterday I made a project in eclipse, and it was working, compiling. I used Eclipse Galileo for Java EE. Today I open eclipse and see lots of errors saying that stuff is not available and that it is only available if source level is 1.5. What to do?