-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate under liferay
PostPosted: Mon May 21, 2007 1:32 am 
Newbie

Joined: Tue Apr 24, 2007 1:26 am
Posts: 6
Hi i am developing a portlet with hibernate spring myfaces etc...
between the development phase the portlet runs under jboss/portal with no problems.
now i have to switch to the liferay portal, and get a hibernate error.
Exception :
Code:
1....class path resource [WEB-INF/context/portlet/milestone.hbm.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:135)....

but the milestone.hbm.xml exists in the folder. i tryed to change it but nothing worked.

is there a special place for hibernate configuration files under liferay...?

here a snippet of the spring configuration with the mapping part:

Code:
1<property name="mappingResources">
2 <list>
3      <value>WEB-INF/context/portlet/milestone.hbm.xml</value>
4 </list>
5</property>



so both files are located in the same directory.

any ideas...?

Stefan


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.