This exceptions means that you are trying to autowire EntityManagerFactory
by type. Do you have any @Autowired
annotation in your code?
Aslo, when using @PersistenceContext
, set the unit
attribute correctly. And (I'm not sure if this is a proper thing to do) - try setting the name
attribute to your respective factory name.
Also, check if you haven't copy-pasted incorrectly the REST transaction manager - now there is no such bean REST
Bozho
2009-12-09 20:18:50