Mark Spritzler wrote:Well, first I recommend using the @Transactional annotation in your code instead of the verbose xml style of Transaction configuration.
Also, it looks to me that it probably is in your hibernate.cfg.xml file. That it doesn't have a DataSource configured in that file.
I also recommend no longer using a hibernate.cfg.xml file and put the configuration in your Spring configuration, which includes defining a bean for your DataSource.
Rob Spoor wrote:Did you add all the required JSF JAR files to your application's WEB-INF/lib folder?
Jeff Verdegan wrote:
Stas Melnychenko wrote:InputStream is abstract.
That doesn't really answer the question at all.
And note that, for instance, OutputStream.write(byte b) is not abstract.