It is necessary that you upgrade the copy of log4j inside Jetty to version
1.2.14.  That adds the isTraceEnabled():boolean method that SL4J expects.

On 10/28/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
>
> There are some warnings thrown at the end of the new maven create
> archetype run, given by Howard in the tapestryjava blog entry titled
> "Big improvement to quickstart archetype."  I'm on an Intel Core Duo
> iMac with Maven version 2.0.7:
>
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [line 14,column 22]
> : ${tapestry-release-version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [line 80,column 26]
> : ${tapestry-release-version} is not a valid reference.
> [INFO] ********************* End of debug info from resources from
> generated POM ***********************
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/src/main/webapp/Start.tml
> [line 11,column 34] : ${currentTime} is not a valid reference.
>
> In my eclipse jetty run, I have eclipse version: 3.3.0, Build id
> M20070921-1145 under JDK 1.5.0_07-87.  My jetty is 5.1.11.  For the
> project I create a standard Java Project and "Create project from
> existing source".  I set up the Jetty launch as normal, and when I hit
> either / or /start, I get
>
> HTTP ERROR: 500
> org.apache.log4j.Logger.isTraceEnabled()Z
> RequestURI=/start
> Powered by Jetty://
>
> The first few lines of the stack trace read
>
> [ERROR] RequestExceptionHandler Processing of request failed with
> uncaught exception: org.apache.log4j.Logger.isTraceEnabled()Z
> java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
>         at org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(
> Log4jLoggerAdapter.java:81)
>         at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> RenderQueueImpl.java:45)
>         at
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> (PageMarkupRendererImpl.java:40)
>
> Is that capital "Z" at the end of the method name a typo?
>
> Bill H.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

Reply via email to