You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Emmanouil Batsis <ma...@abiss.gr> on 2011/04/02 01:57:06 UTC
Anyone using wicket-velocity 1.4.16 on java 1.5?
Stuck on a win machine, but checked out my classpath, even deleted my
maven repo .m2/repository/org/apache/wicket to verify what i'm seeing
in my pom but no dice.
I'm using 1.4.16 or wicket-xx including velocity. This code:
// START SNIPPET, next line is 51
VelocityPanel panel = new VelocityPanel("templatePanel", templateContext) {
@Override
protected IStringResourceStream getTemplateResource() {
return template;
}
@Override
protected boolean parseGeneratedMarkup() {
return true;
}
};
// ENDSNIPPET
results in the following error, although
VelocityPanel.getMarkupResourceStream is supposed to be public and
final:
<foobar>\src\main\java\foo\wicket\velocity\VelocityPage.java:[51,76]
<anonymous <foobar>.wicket.velo
city.VelocityPage$1> is not abstract and does not override abstract
method
getMarkupResourceStream(org.apache.wicket.MarkupContainer,java.lang.Class)
in org.apache.wicket.markup.IMarkupResourceStreamProvider
Any ideas?
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Anyone using wicket-velocity 1.4.16 on java 1.5?
Posted by James Carman <ja...@carmanconsulting.com>.
That's what usually happens. :)
On Sat, Apr 2, 2011 at 4:56 PM, Emmanouil Batsis <ma...@abiss.gr> wrote:
>
>
>
> Quoting Emmanouil Batsis <ma...@abiss.gr>:
>>
>> Quoting James Carman <ja...@carmanconsulting.com>:
>>
>>> Quickstart?
>>
>> Bear with me; are you asking for a minimal testcase based on the archetype
>> or whether i'm actually using it (or something else)?
>
> In anycase, it would lead me into figuring out my problem was classpath
> related.
>
> My build was including old (1.3.x) wicket classes instead of using a jar
> dependency to avoid the "Too many open files" bug.
>
>
> Cheers,
>
> Manos
>
> ---------------------------------------------------------------------
> 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: Anyone using wicket-velocity 1.4.16 on java 1.5?
Posted by Emmanouil Batsis <ma...@abiss.gr>.
Quoting Emmanouil Batsis <ma...@abiss.gr>:
> Quoting James Carman <ja...@carmanconsulting.com>:
>
>> Quickstart?
>
> Bear with me; are you asking for a minimal testcase based on the
> archetype or whether i'm actually using it (or something else)?
In anycase, it would lead me into figuring out my problem was
classpath related.
My build was including old (1.3.x) wicket classes instead of using a
jar dependency to avoid the "Too many open files" bug.
Cheers,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Anyone using wicket-velocity 1.4.16 on java 1.5?
Posted by Emmanouil Batsis <ma...@abiss.gr>.
Quoting James Carman <ja...@carmanconsulting.com>:
> Quickstart?
Bear with me; are you asking for a minimal testcase based on the
archetype or whether i'm actually using it (or something else)?
Cheers,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Anyone using wicket-velocity 1.4.16 on java 1.5?
Posted by James Carman <ja...@carmanconsulting.com>.
Quickstart?
On Apr 1, 2011 7:57 PM, "Emmanouil Batsis" <ma...@abiss.gr> wrote:
> Stuck on a win machine, but checked out my classpath, even deleted my
> maven repo .m2/repository/org/apache/wicket to verify what i'm seeing
> in my pom but no dice.
>
> I'm using 1.4.16 or wicket-xx including velocity. This code:
>
> // START SNIPPET, next line is 51
> VelocityPanel panel = new VelocityPanel("templatePanel", templateContext)
{
>
> @Override
> protected IStringResourceStream getTemplateResource() {
> return template;
> }
>
> @Override
> protected boolean parseGeneratedMarkup() {
> return true;
> }
> };
>
> // ENDSNIPPET
>
>
> results in the following error, although
> VelocityPanel.getMarkupResourceStream is supposed to be public and
> final:
>
>
> <foobar>\src\main\java\foo\wicket\velocity\VelocityPage.java:[51,76]
> <anonymous <foobar>.wicket.velo
> city.VelocityPage$1> is not abstract and does not override abstract
> method
> getMarkupResourceStream(org.apache.wicket.MarkupContainer,java.lang.Class)
> in org.apache.wicket.markup.IMarkupResourceStreamProvider
>
> Any ideas?
>
> Manos
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>