简体   繁体   中英

create form using play-framework 2.5.x java?

I am trying to create a simple html form using playframework 2.5.3

I am following official documentation

I am stuck at a point

Form<User> userForm = formFactory.form(User.class);

Intellij(16) says, cannot resolve symbol formFactory

I have allready imported import play.data.FormFactory;

Thankyou..!

This should help you: 在此处输入图片说明

the doc of play framework has already tell you how to use play.data.form

But IDEA tells you it can't find formFactory variable declared. Try to rebuild project from the console. And then re-open it in IDEA.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM