Spring PropertyPlaceholder

19 views
Skip to first unread message

benjamin garcia

unread,
Jul 8, 2013, 4:19:28 AM7/8/13
to ju...@googlegroups.com
Hi, 

I have a problem with Spring PropertySourcesPlaceholderConfigurer, I test many things, but my properties isn't read. 
It's possible that be a consequence of juzu context or I have another problem?

Regards

Benjamin

Julien Viet

unread,
Jul 9, 2013, 2:28:36 AM7/9/13
to ju...@googlegroups.com
can you show me how you declare it ?

--
You received this message because you are subscribed to the Google Groups "Juzu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to juzu+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

benjamin garcia

unread,
Jul 9, 2013, 2:51:40 AM7/9/13
to ju...@googlegroups.com
Hi, 

This is my spring.xml : https://gist.github.com/benjamingarcia/9c577b1c4cfc0e40e210
I try also with bean delcaration whith PropertySourcePlaceHolder class. My property file is on webapp resources folder.

Julien Viet

unread,
Jul 10, 2013, 9:32:26 AM7/10/13
to ju...@googlegroups.com
so it is about the 

<context:property-placeholder location="classpath:/constellation.properties"/>

that does work, right ?

benjamin garcia

unread,
Jul 11, 2013, 12:29:31 PM7/11/13
to ju...@googlegroups.com
Yes, But I think it's a problem on my app. 

Olivier NOUGUIER

unread,
Sep 25, 2013, 11:41:17 AM9/25/13
to ju...@googlegroups.com
No so sure ... a guy encountered a similar issue [0] because of the difference between BeanFactory and Context.

Julien Viet

unread,
Sep 25, 2013, 12:56:43 PM9/25/13
to ju...@googlegroups.com
perhaps you guys should use the feature of the latest beta that allow you to have a full fledged spring bootstrapped by a spring (listener or servlet).
Reply all
Reply to author
Forward
0 new messages