Java – why does eclipse display errors in the play framework rendering method?
•
Java
I received an error:
public static Result home(String name) { return ok(home.render(name)); }
Eclipse says families can't solve it I know it's more like Scala than Java, but what can I do to get rid of these mistakes Well, there is no disable error message (I see a lot of such answers here) Also, can I have my eclipse work automate Scala anyway?
Ah, I noticed another problem just now To use external jars, I put all my jars in the Lib folder and run eclipse. Exe again from cli It works well in the browser, but the classes using jar are completely wrong, just like eclipse
Solution
Using eclipse commands, build the project from eclipse and refresh the project
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码