I've been able to generate my application from mysql schema talbles.
I noticed when i name the bundle file application.properties wich is by default Bundle.properties, that the application is not working.
I've a message below
javax.el.PropertyNotFoundException: The class 'org.apache.catalina.core.ApplicationContextFacade' does not have the property 'application.Welcome'
I don't know why, i renamed the file myressources.properties and every thing goes right.
Thank you for the plugin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can't simply rename the bundle file. In addition, you will have to edit the faces-config.xml file to reflect the changed file name. Also the bundle itself is represented by a variable. Don't confuse the bundle variable with the bundle file name. Hope that helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-05-27
That is what i do, i checked that in faces-config.xml is correct
<resource-bundle>
<base-name>/application</base-name> application
</resource-bundle>
simple by regenrating the application with another name of the Bundle "myrerssources"
<resource-bundle>
<base-name>/myrerssources</base-name> myrerssources
</resource-bundle>
The error desapears
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ,
I've been able to generate my application from mysql schema talbles.
I noticed when i name the bundle file application.properties wich is by default Bundle.properties, that the application is not working.
I've a message below
javax.el.PropertyNotFoundException: The class 'org.apache.catalina.core.ApplicationContextFacade' does not have the property 'application.Welcome'
I don't know why, i renamed the file myressources.properties and every thing goes right.
Thank you for the plugin.
Moved to Troubleshooting forum.
You can't simply rename the bundle file. In addition, you will have to edit the
faces-config.xmlfile to reflect the changed file name. Also the bundle itself is represented by a variable. Don't confuse the bundle variable with the bundle file name. Hope that helps.That is what i do, i checked that in faces-config.xml is correct
<resource-bundle>
<base-name>/application</base-name>
application
</resource-bundle>
simple by regenrating the application with another name of the Bundle "myrerssources"
<resource-bundle>
<base-name>/myrerssources</base-name>
myrerssources
</resource-bundle>
The error desapears