You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by hhuynh <hu...@yahoo.com> on 2007/08/26 05:46:39 UTC

Markup of type 'html' for component 'wicket.contrib.gmap.GMap2' not found

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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Markup of type 'html' for component 'wicket.contrib.gmap.GMap2' not found

Posted by Igor Vaynberg <ig...@gmail.com>.
there is a setting to make it do so, cant quiet remember where it is right
now.

-igot


On 8/25/07, hhuynh <hu...@yahoo.com> wrote:
>
>
> 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 <hu...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
>
> --
> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Markup of type 'html' for component 'wicket.contrib.gmap.GMap2' not found

Posted by Martin Funk <fu...@arcor.de>.
Hi Hung,

this addition to the pom.xml of
    <groupId>org.wicketstuff</groupId>
    <artifactId>wicket-contrib-gmap2-examples</artifactId>

should not be needed since that pom inherits that setting form
the pom.xml of
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-parent</artifactId>
        <version>1.3.0-SNAPSHOT</version>

All that should need to be done after checking the project out using svn is:

mvn eclipce:eclipes

or

mvn eclipse:clean eclipse:eclipse
if, for whatever reason, a '.project' file is already present.

After that should be importable into an eclispse workspace, as an 
eclipse project.

Martin

hhuynh schrieb:
> 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 <hu...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>       
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Markup of type 'html' for component 'wicket.contrib.gmap.GMap2' not found

Posted by hhuynh <hu...@yahoo.com>.
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 <hu...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> 

-- 
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Markup of type 'html' for component 'wicket.contrib.gmap.GMap2' not found

Posted by Igor Vaynberg <ig...@gmail.com>.
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 <hu...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>