I'm using IntelliJ IDEA and in the following controller method it says that Cannot resolve symbol javascript
. The code is action for Javascript Router:
def javascriptRoutes = Action { implicit request =>
Ok(
JavaScriptReverseRouter("jsRoutes")(
routes.javascript.BasicController.auto
)
).as("text/javascript")
}
Could this be fixed or it's just not a problem?
Compile your project from command line using activator compile
. If it compiles it should not be the problem.
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.