I'm getting an error message in Tomcat. It's saying a field isn't mapped to a table in one of my classes. Here's the exception message. I can provide the rest of the stacktrace later, if you want.
nested exception is org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: com.revature.movie.model.MovieLikes.users[java.lang.Integer]
I'm trying to create a join table between users and movies to represent movies that people like. Hibernate seems to be telling me the List I've created in my MovieLikes class isn't mapped to a table. I only want the field included in a join table, though. Here's the code for MovieLikes.java: