Thanks for tip. I added this to my pom and it works fine now. Eclipse doesn't
copy non-java files over automatically.

                <resources>
                        <resource>
                                <directory>src/main/java</directory>
                                <includes>
                                        <include>**</include>
                                </includes>
                                <excludes>
                                        <exclude>**/*.java</exclude>
                                </excludes>
                        </resource>
                </resources>

Hung-


igor.vaynberg wrote:
> 
> either the example is broken or your ide does not copy .html files from
> the
> src dir to the classes dir.
> 
> -igor
> 
> 
> On 8/25/07, hhuynh <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>>
>> I've tried out the examples of wicket-contrib-gmap2-examples and got this
>> below error. I'm pretty new to Wicket so I'm not sure where to start
>> debugging this error.
>>
>> Anybody has idea?
>>
>> Thank you,
>>
>> Hung-
>>
>>
>> WicketMessage: Markup of type 'html' for component
>> 'wicket.contrib.gmap.GMap2' not found. Enable debug messages for
>> org.apache.wicket.util.resource to get a list of all filenames tried:
>> [MarkupContainer [Component id = topPanel, page =
>> wicket.contrib.examples.gmap.HomePage, path = 0:topPanel.GMap2, isVisible
>> =
>> true, isVersioned = true]]
>>
>> Root cause:
>>
>> org.apache.wicket.markup.MarkupNotFoundException: Markup not found.
>> Component class: wicket.contrib.gmap.GMap2 Enable debug messages for
>> org.apache.wicket.util.resource to get a list of all filenames tried
>> at
>> org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:199)
>> at
>> org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(
>> MarkupContainer.java:331)
>> at
>> org.apache.wicket.MarkupContainer.renderAssociatedMarkup(
>> MarkupContainer.java:601)
>> at
>> org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java
>> :107)
>> at org.apache.wicket.Component.renderComponent(Component.java:2114)
>> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1294)
>> at org.apache.wicket.Component.render(Component.java:1941)
>> at
>> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1179)
>> at
>> org.apache.wicket.MarkupContainer.renderComponentTagBody(
>> MarkupContainer.java:1349)
>> at
>> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java
>> :1284)
>> at org.apache.wicket.Component.renderComponent(Component.java:2114)
>> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1294)
>> at org.apache.wicket.Component.render(Component.java:1941)
>> --
>> View this message in context:
>> http://www.nabble.com/Markup-of-type-%27html%27-for-component-%27wicket.contrib.gmap.GMap2%27-not-found-tf4329975.html#a12331945
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Markup-of-type-%27html%27-for-component-%27wicket.contrib.gmap.GMap2%27-not-found-tf4329975.html#a12331989
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to