Hi!
I'm honestly not sure where to post this problem of mine. If anyone could even give me a pointer that would be awesome already!
I basically have a simple project with 1 model class where one property has a @Converter (JPA2) annotation to it. That's the only "edgy" aspect of it (I've done JPA and all a million times and this time I only wanted to test this @Converter thingy).
I put my test projects on github: https://github.com/lpezet/troubleshoot-hcj
If I put all my stuff (class, deps, etc.) in 1 single web project (
troubleshoot-hcj), all good: jetty (that's just what I'm using at the moment) starts just fine. If you checkout the code, running
mvn clean jetty:run will just show "[INFO] Started Jetty Server" at the end and everything went fine until then.
Now, if I start putting my back-end code into a separate project (
troubleshoot-hcj-core), and my front-end code in another one (
troubleshoot-hcj-web) I get the following error before jetty starts:
Code:
org.hibernate.MappingException: Could not determine type for: java.util.Map, at table: user_codes, for columns: [org.hibernate.mapping.Column(options)]
To replicate, go into
troubleshoot-hcj-core and run
mvn install then go into
troubleshoot-hcj-web and run
mvn clean jetty:run.
Any thoughts?
Thanks!
Luc.