Re: tapestry-spring and SpringStrings.properties

2006-11-26 Thread Cyrille37

Howard Lewis Ship a écrit :
What version of the JAR are you using? It looks like its in the right 
place:

Hello,

At first, I did not find any JAR to download, So I just had the 
Tapestry-Spring source code in my project's source folder. It was 
compiling fine but at run time it could not find the .properties file.


Now I've found and downloaded tapestry-spring-1.0.0-SNAPSHOT.jar.

Thanks for your answer (and for your very nice Tapestry Project),
Cyrille



$ jar tf target/tapestry-spring-1.0.0-SNAPSHOT.jar
META-INF/
META-INF/MANIFEST.MF
com/
com/javaforge/
com/javaforge/tapestry/
com/javaforge/tapestry/spring/
com/javaforge/tapestry/spring/annotations/
com/javaforge/tapestry/spring/annotations/InjectSpring.class
com/javaforge/tapestry/spring/annotations/InjectSpringAnnotationWorker.class 


com/javaforge/tapestry/spring/SpringApplicationInitializer.class
com/javaforge/tapestry/spring/SpringBeanInjectionWorker.class
com/javaforge/tapestry/spring/SpringMessages.class
com/javaforge/tapestry/spring/SpringStrings.properties
META-INF/hivemodule.xml
META-INF/maven/
META-INF/maven/com.javaforge.tapestry/
META-INF/maven/com.javaforge.tapestry/tapestry-spring/
META-INF/maven/com.javaforge.tapestry/tapestry-spring/pom.xml
META-INF/maven/com.javaforge.tapestry/tapestry-spring/pom.properties


On 11/22/06, Cyrille37 <[EMAIL PROTECTED]> wrote:


Hello,

com.javaforge.tapestry.spring.SpringMessages could not find its
properties file.

I've put files : SpringStrings.properties and 
SpringStrings_fr.properties

in folders :
WEB-INF
and
WEB-INF/com/javaforge/tapestry/spring
but it's not the right place...

Caused by: java.util.MissingResourceException: Can't find bundle for
base name com.javaforge.tapestry.spring.SpringStrings, locale fr_FR
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:65) 


at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:60) 


at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:55) 


at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:50) 


at
com.javaforge.tapestry.spring.SpringMessages.(SpringMessages.java 


:27)

Thanks
cyrille

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tapestry-spring and SpringStrings.properties

2006-11-25 Thread Howard Lewis Ship

What version of the JAR are you using? It looks like its in the right place:

$ jar tf target/tapestry-spring-1.0.0-SNAPSHOT.jar
META-INF/
META-INF/MANIFEST.MF
com/
com/javaforge/
com/javaforge/tapestry/
com/javaforge/tapestry/spring/
com/javaforge/tapestry/spring/annotations/
com/javaforge/tapestry/spring/annotations/InjectSpring.class
com/javaforge/tapestry/spring/annotations/InjectSpringAnnotationWorker.class
com/javaforge/tapestry/spring/SpringApplicationInitializer.class
com/javaforge/tapestry/spring/SpringBeanInjectionWorker.class
com/javaforge/tapestry/spring/SpringMessages.class
com/javaforge/tapestry/spring/SpringStrings.properties
META-INF/hivemodule.xml
META-INF/maven/
META-INF/maven/com.javaforge.tapestry/
META-INF/maven/com.javaforge.tapestry/tapestry-spring/
META-INF/maven/com.javaforge.tapestry/tapestry-spring/pom.xml
META-INF/maven/com.javaforge.tapestry/tapestry-spring/pom.properties


On 11/22/06, Cyrille37 <[EMAIL PROTECTED]> wrote:


Hello,

com.javaforge.tapestry.spring.SpringMessages could not find its
properties file.

I've put files : SpringStrings.properties and SpringStrings_fr.properties
in folders :
WEB-INF
and
WEB-INF/com/javaforge/tapestry/spring
but it's not the right place...

Caused by: java.util.MissingResourceException: Can't find bundle for
base name com.javaforge.tapestry.spring.SpringStrings, locale fr_FR
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:65)
at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:60)
at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:55)
at
org.apache.hivemind.impl.MessageFormatter.(MessageFormatter.java:50)
at
com.javaforge.tapestry.spring.SpringMessages.(SpringMessages.java
:27)

Thanks
cyrille

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com