Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-507

Fails to bootstrap if no WEB-INF/lib exist in deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2-beta-1
    • None
    • None
    • None
    • Workaround Exists
    • Hide

      Create a empty directory in the war

      Show
      Create a empty directory in the war

      If you deploy a WAR that has no WEB-INF/lib folder, RESTEasy dies..

      16:22:46,476 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] Exception starting filter Resteasy: java.lang.NullPointerException
      at org.scannotation.WarUrlFinder.findWebInfLibClasspaths(WarUrlFinder.java:27) [:6.0.0.Final]
      at org.jboss.resteasy.plugins.server.servlet.ListenerBootstrap.getScanningUrls(ListenerBootstrap.java:33) [:6.0.0.Final]
      at org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap.createDeployment(ConfigurationBootstrap.java:163) [:6.0.0.Final]
      at org.jboss.resteasy.plugins.server.servlet.ListenerBootstrap.createDeployment(ListenerBootstrap.java:26) [:6.0.0.Final]
      at org.jboss.resteasy.plugins.server.servlet.FilterBootstrap.createDeployment(FilterBootstrap.java:25) [:6.0.0.Final]
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:66) [:6.0.0.Final]
      at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39) [:6.0.0.Final]
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [:6.0.0.Final]
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3246) [:6.0.0.Final]
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3843) [:6.0.0.Final]
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.0.0.Final]
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.0.0.Final]
      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477) [:6.0.0.Final]
      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.Final]
      at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.Final]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_20]

              patriot1burke@gmail.com Bill Burke (Inactive)
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: