Andrea,
"Are you sure it's getting included in your jar?"
yes. I have checked and it's inside the jar. Actually, it's at the root path
of the jar.
This is the error that I'm getting....
Caused by: java.util.MissingResourceException: Unable to find resource:
mamaezinha.description for component: standalone:2:link
[class=org.apache.wicket.markup.html.link.BookmarkablePageLink]
at org.apache.wicket.Localizer.getString(Localizer.java:266)
at
org.apache.wicket.model.StringResourceModel.getString(StringResourceModel.java:491)
at
org.apache.wicket.model.StringResourceModel.load(StringResourceModel.java:633)
The GeoServerApplication.properties is at the same path as
applicationContext.xml.
Above it's the content of applicationContext.xml;
<beans>
<bean class="org.geoserver.web.MenuPageInfo" id="basePage">
<property name="id" value="basePage"/>
<property name="titleKey" value="mamaezinha.title"/>
<property name="descriptionKey" value="mamaezinha.description"/>
<property name="componentClass"
value="org.geoserver.tecgismap.BasePage"/>
</bean>
</beans>
Thanks already!!!!!
cheers......
2010/11/10 Andrea Aime <[email protected]>
> On Wed, Nov 10, 2010 at 2:13 PM, felipe guilherme
> <[email protected]> wrote:
> > Hello,
> >
> > We're trying to create a web interface for our geoserver Extension.
> >
> > As we wanted to create a link on the geoServer Main Page, we followed the
> > tutorial at
> > (
> http://docs.geoserver.org/stable/en/developer/programming-guide/web-ui/implementing.html
> ).
> >
> > It never searches for our GeoServerApplication.properties....it only
> works
> > out if the keys are inside OUR (GeoServerApplication.properties) exists
> at
> > GeoServer's own GeoServerApplication.properties.
> >
> > Anybody has any clues???
> > Is the tutorial out of date??
>
> I did not check the tutorial but the file is still that one.
> Are you sure it's getting included in your jar?
> Maven won't include it unless you put it in src/main/resources or use some
> extra
> configuration to have it included anyways (along with html files) that the
> GeoServer main pom.xml has
>
> Cheers
> Andrea
>
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax: +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users