Hi,
I am attaching the detailed FINEST log for com.sun.jersey if that
helps. Eagerly waiting for some help.
Thank you,
Imran
On Wed, Sep 15, 2010 at 12:28 PM, Imran M Yousuf
<imyousuf_at_smartitengineering.com> wrote:
> Hi,
>
> I am getting the following exception and SEVERE logs when trying to
> startup a Embedded Jetty server in a test case with an external WAR
> file. Can someone please help me resolve it?
>
> Sep 15, 2010 12:26:35 PM com.sun.jersey.spi.inject.Errors processErrorMessages
> SEVERE: The following errors and warnings have been detected with
> resource and/or provider classes:
> SEVERE: Missing dependency for method public void
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties)
> at parameter at index 0
> SEVERE: Missing dependency for method public void
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties)
> at parameter at index 0
> SEVERE: Missing dependency for method public void
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties)
> at parameter at index 0
> SEVERE: Missing dependency for method public void
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties)
> at parameter at index 0
> SEVERE: Missing dependency for field:
> com.sun.jersey.spi.MessageBodyWorkers
> com.sun.jersey.json.impl.provider.entity.JSONWithPaddingProvider.bodyWorker
> SEVERE: Missing dependency for method public void
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties)
> at parameter at index 0
> SEVERE: Missing dependency for method public void
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties)
> at parameter at index 0
> 2010-09-15 12:26:35.259:WARN::FAILED Jersey Filter:
> com.sun.jersey.spi.inject.Errors$ErrorMessagesException
> 2010-09-15 12:26:35.259:WARN::Failed startup of context
> WebAppContext_at_bfc25c@bfc25c/,file:/media/projects/smart-user/smart-user-client-impl/target/smartuser/,./target/smartuser/
> com.sun.jersey.spi.inject.Errors$ErrorMessagesException
> at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:150)
> at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:117)
> at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:183)
> at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:649)
> at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:644)
> at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:428)
> at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:277)
> at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:573)
> at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:211)
> at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:332)
> at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:671)
> at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:74)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:668)
> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:204)
> at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:994)
> at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:588)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:380)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
> at org.eclipse.jetty.server.Server.doStart(Server.java:242)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> at com.smartitengineering.clientrest.smartuserclientimpl.ComprehensiveClientTest.setupServer(ComprehensiveClientTest.java:28)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> Thanks in advance,
>
> --
> Imran M Yousuf
> Twitter: @imyousuf - http://twitter.com/imyousuf
> Blog: http://imyousuf-tech.blogs.smartitengineering.com/
> Mobile: +880-1711402557
>
--
Imran M Yousuf
Entrepreneur & CEO
Smart IT Engineering Ltd.
25/5B, Block F, Haji Chinu Miah Road Bylane
Joint Quarter, Mohammadpur
Dhaka - 1207, Bangladesh
Email: imran_at_smartitengineering.com
Twitter: @imyousuf - http://twitter.com/imyousuf
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557
- application/octet-stream attachment: test.out