javax.servlet.ServletException: None of the declared classpath locations, WEB-INF/lib/artifactory-rest-3.6.0.jar, could be resolved. This could be because the default deployment configuration that scans for classes in classpath locations is not supported. Try using the package scanning configuration, see the JavaDoc for com.sun.jersey.api.core.PackagesResourceConfig and the property com.sun.jersey.config.property.packages.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Michael Ahern, 1 year ago
None of the declared classpath locations, WEB-INF/lib/artifactory-rest-3.6.0.jar, could be resolved. This could be because the default deployment configuration that scans for classes in classpath locations is not supported. Try using the package
via JFrog JIRA by Michael Ahern, 1 year ago
None of the declared classpath locations, WEB-INF/lib/artifactory-rest-3.6.0.jar, could be resolved. This could be because the default deployment configuration that scans for classes in classpath locations is not supported. Try using the package
javax.servlet.ServletException: None of the declared classpath locations, WEB-INF/lib/artifactory-rest-3.6.0.jar, could be resolved. This could be because the default deployment configuration that scans for classes in classpath locations is not supported. Try using the package scanning configuration, see the JavaDoc for com.sun.jersey.api.core.PackagesResourceConfig and the property com.sun.jersey.config.property.packages.
at com.sun.jersey.spi.container.servlet.WebComponent.getPaths(WebComponent.java:793)
at com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:714)
at com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:676)
at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:201)
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at org.artifactory.rest.servlet.ArtifactoryRestServlet.delayedInit(ArtifactoryRestServlet.java:68)
at org.artifactory.rest.servlet.ArtifactoryRestServlet.init(ArtifactoryRestServlet.java:58)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.