I am using spring boot 1.5.4 and @crossorigin doesn't compile with JDK 1.7 it compiles with JDK 1.8 but I need just 1.7
Error:(19, 1) java: annotation org.springframework.web.bind.annotation.CrossOrigin is missing value for the attribute
What should I do? I am using InteliJIdea
Try updating your JDK 7
to its latest version.
I found this solution in the comments section in this link
It says that this was a known and resolved issue in
java 1.8
and has been back-ported tojava 7
. So, Update to the latestjava 7 version (7u80)
orJava 8
version.
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.