We factored out Ognl in 1.2, so you must be using Wicket 1.1 or 1.0,
right? In which case you need to include the ognl jar
(http://www.opensymphony.com/ognl/)

Eelco


On 2/1/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> Anytime i compile some of my examples, i get tomcat throw exception page
> saying:
>
> java.lang.NoClassDefFoundError: ognl/OgnlException
> net.cowblock.dabar.test.GuestBook$CommentForm.<init>(GuestBook.java:46)
> net.cowblock.dabar.test.GuestBook.<init>(GuestBook.java:31)
>  sun.reflect.NativeConstructorAccessorImpl.newInstance0
> (Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> java.lang.reflect.Constructor.newInstance(Constructor.java:506)
>  java.lang.Class.newInstance0(Class.java:355)
>  java.lang.Class.newInstance(Class.java:308)
>  wicket.DefaultPageFactory.newPage(DefaultPageFactory.java
> :50)
> wicket.DefaultPageFactory.newPage(DefaultPageFactory.java:83)
> wicket.protocol.http.WebRequestCycle.bookmarkablePage(WebRequestCycle.java:404)
> wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java
> :153)
>  wicket.RequestCycle.request(RequestCycle.java:408)
> wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>  javax.servlet.http.HttpServlet.service
> (HttpServlet.java:802)
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
>
>
> why is dat?
>
>
> --
> "The more life's risk you take, the more life's reward you get" - Me


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to