Ok, again I solved my own problem.
I inserted a classpath:hibernate-cfg.xml and it now works in the
applicationContext.xml file.
Regards
On 3/13/07, Udora <[EMAIL PROTECTED]> wrote:
Hi all,
I have the following spring configuration in my web.xml:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:applicationContext-service.xml</param-value>
</context-param>
The applicationContext-service.xml references a hibernate-cfg.xml file.
However on container startup I get the error:
Invocation of init method failed; nested exception is
java.io.FileNotFoundException: ServletContext resource
[/hibernate.cfg.xml] cannot be resolved to URL because it does not exist
The hibernate.cfg.xml exists in the same location as
applicationContext-service.xml on the classpath.
Thanks in advance
--
Wicket is Wicked
--
Wicket is Wicked
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user