Cannot run test with IDEA 2018.1 + JDK 10. It says:
Error:(6, 1) java: modules are not supported in -source 8 (use -source 9 or higher to enable modules)
I've raised language level up to 10 using menus:
File->Project Structure -> Project -> Project Language Level 10
File->Project Structure -> Modules{each module} -> Language Level 10
but it didn't help.
What can be reason of the error?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.