[logback-dev] [JIRA] Created: (LBACCESS-29) Getting Java java.lang.ClassNotFound except with v1.0.0 & Jetty 7
Ian Stewartson (JIRA)
noreply-jira at qos.ch
Mon Nov 28 10:58:12 CET 2011
Getting Java java.lang.ClassNotFound except with v1.0.0 & Jetty 7
-----------------------------------------------------------------
Key: LBACCESS-29
URL: http://jira.qos.ch/browse/LBACCESS-29
Project: logback-access
Issue Type: Bug
Affects Versions: 1.0.0
Environment: Linux RedHat 5.7 (2.6.18-274.3.1.el5)
Jetty: jetty-7.5.1.v20110908 - 08 September 2011
java version "1.6.0_27"
logback-access-1.0.0.jar logback-core-1.0.0.jar
Reporter: Ian Stewartson
Assignee: Logback dev list
Have following installation instructions on Web page, however, get an exception when starting Jetty:
2011-11-28 09:35:50.809:WARN:oejx.XmlConfiguration:Config error at <Set name="requestLog">| <New id="requestLogImpl" class="ch.qos.logback.access.jetty.RequestLogImpl"/>| </Set> java.lang.ClassNotFoundException: ch.qos.logback.access.jetty.RequestLogImpl
2011-11-28 09:35:50.809:WARN:oejx.XmlConfiguration:Config error at <Ref id="RequestLogHandler"><Set name="requestLog">| <New id="requestLogImpl" class="ch.qos.logback.access.jetty.RequestLogImpl"/>| </Set></Ref> java.lang.ClassNotFoundException: ch.qos.logback.access.jetty.RequestLogImpl
java.lang.reflect.InvocationTargetException
jetty.xml contents:
<!-- =========================================================== -->
<!-- Set handler Collection Structure -->
<!-- =========================================================== -->
<Set name="handler">
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
<Set name="handlers">
<Array type="org.eclipse.jetty.server.Handler">
<Item>
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
</Item>
<Item>
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
</Item>
<!-- add a RequestLogHandler - for logBack -->
<Item>
<New id="RequestLogHandler" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
</Item>
</Array>
</Set>
</New>
</Set>
<!-- =========================================================== -->
<!-- Log Back Request Handler -->
<!-- =========================================================== -->
<Ref id="RequestLogHandler">
<Set name="requestLog">
<New id="requestLogImpl" class="ch.qos.logback.access.jetty.RequestLogImpl">
</New>
</Set>
</Ref>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list