On Monday 26 July 2010 8:37:24 am Benson Margulies wrote:
> What to do about this? Add the servlet API to the sample?
We've always needed the servlet jar for the jetty transport. The http-jetty
module should be pulling one in. In the pom, I see:
<dependency>
<groupId>${servlet-api.group}</groupId>
<artifactId>${servlet-api.artifact}</artifactId>
</dependency>
so I assume one is being pulled in. Not sure why it wouldn't be.
Dan
> ---------------------------------------------------------------------------
> ---- Test set: org.apache.cxf.sample.test.TestAegisSample
> ---------------------------------------------------------------------------
> ---- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.182
> sec <<< FAILURE!
> org.apache.cxf.sample.test.TestAegisSample Time elapsed: 0 sec <<< ERROR!
> java.lang.NoClassDefFoundError: javax/servlet/ServletInputStream
> at
> org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.createDestin
> ation(JettyHTTPTransportFactory.java:100) at
> org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.getDestinati
> on(JettyHTTPTransportFactory.java:86)
--
Daniel Kulp
[email protected]
http://dankulp.com/blog