What to do when IllegalStateException occurs in PlayFramework

I don't usually write Java, but as a helper, a project came in, so it's an error memo at that time.

problem

The local environment that was working a while ago has stopped working due to the following error!

[error] application - java.lang.IllegalStateException: JSR-303 validated property 'hogeCode' does not have a corresponding accessor for data binding - check your DataBinder's configuration (bean property versus direct field access)

Coping

Execute the following command!

$ activator clean
$ activator compile

Cause

It seems that I was messing with the files under bin in the FW by mistake, and I got a compile error. Therefore, once I cleared the intermediate file with ʻactivator clean and recompiled with ʻactivator compile, it worked fine.

Recommended Posts

What to do when IllegalStateException occurs in PlayFramework
What to do when javax.batch.operations.JobStartException occurs
What to do when a javax.el.PropertyNotWritableException occurs
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
What to do and how to install when an error occurs in DXRuby 1.4.7
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
What to do if ClassNotFoundException occurs when starting Tomcat
What to do when a null byte error occurs
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
What to do when Method not found in f: ajax
What to do when undefined method ʻuser_signed_in?'
What to do when the changes in the Servlet are not reflected
What to do when Blocked Host: "host name" appears in Ruby on Rails
What to do if tomcat process remains when tomcat is stopped in eclipse
What do you use when converting to String?
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do when you think you can't do Groovy-> Java in IntelliJ IDEA CE
What to do when the value becomes null in the second getSubmittedValue () in JSF Validator
What to do when rails db: seed does not reflect in the database
What to do if ffi installation fails when launching an application in Rails
What to do when The SSL certificate has expired
What to do when rails creates a 〇〇 2.rb file
What to do if an ActionController :: UnknownFormat error occurs
What to do if password authentication fails in Docker/Postgres
ParseException: What to do when Unparseable date is reached
[React.useRef] What to do when the latest state cannot be referenced in the event listener
What to do when Address already in use is displayed after executing rails s
What to do when it becomes Unable to find CDI BeanManager.
What to do if you get a java.io.IOException in GlassFish
What to do when you launch an application with rails
What happens when I do new => build => save! In ActiveRecord
What to do when Cannot apply expression operators to method binding
What to do when Git Repository cannot be displayed in Team Explorer for Eclipse in Azure
What to do when Cannot format given Object as a Date in convertDateTime of JSF
What to do when a could not find driver appears when connecting to a DB in a Docker environment
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do when Rails on Docker does not reflect controller changes in the browser
[Rails 6] What to do when a missing a template error occurs after introducing haml [Super easy]
[SQLite] IllegalStateException that occurs in Cursor
What to do when an error occurs in rails db: migrate ((StandardError: An error has occurred, this and all later migrations canceled :))
What to do after Vagrant install
What to do if you get a gcc error in Docker
[Rails] What to do if data is not registered in DB
What to do if the Rails page doesn't appear in Rails tutorial 1.3.2
What to do if Cloud9 is full in the Rails tutorial
[Rails] What to do when rails s does not respond or does not stop
What to do if you get a DISPLAY error in gym.render ()
java.security.InvalidKeyException: What to do when Illegal key size or default parameters
What to do when you become a Problem During Content Assist
What to do when you run into a docker-compose node_modules problem
What to do if you forget the root password in CentOS7
What to do when "relation" hibernate_sequence "does not exist" in the ID column of PostgreSQL + JPA
[Rails] What to do when the error No database selected and Unknown database appears in db: migrate
[Programming beginner] What to do when rails s becomes an error in the local development environment
What to do when you want to know the source position where the method is defined in binding.pry
What to do if you get a JNI shared library error when trying to build in Eclipse
[IOS] What to do when the image is filled with one color
What to do if you get a groovy warning in Thymeleaf Layout
What to do if the prefix c is not bound in JSP
What to do when CentOS cannot be started with VirtualBox on Catalina
What to do after updating Dockerfile, docker-compose.yml