java.lang.NoSuchMethodException: org.sonatype.nexus.rest.ContentResourceHandler.allowMkcol()

Sonatype JIRA | Deleted User | 8 years ago
  1. 0

    I have problems with deploying artifact to Nexus using maven deploy goal. [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from my-project Uploading: http://localhost/content/repositories/my-project/com/mpigulski/business-objects/1.0-SNAPSHOT/business-objects-1.0-20080903.090454-240.jar 2008-09-03 11:04:55 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Sonatype Nexus Repository Manager' authentication realm at localhost, but still receiving: HTTP/1.1 401 Unauthorized Last message is being repeated for a few seconds and finally I receive: [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31 seconds [INFO] Finished at: Wed Sep 03 11:05:12 CEST 2008 [INFO] Final Memory: 14M/26M [INFO] ------------------------------------------------------------------------ However, in the meantime on in Nexus server logs there is a stacktrace for every line that is repeated in client local console: INFO | jvm 1 | 2008/09/03 10:07:46 | 2008-09-03 10:07:45,963 INFO [org.restlet.Component (90226)] - 2008-09-03 10:07:45 10.5.1.12 -10.5.1.12 80 MKCOL /content/repositories/ - 405 370 - 1 http://localhost Jakarta Commons-HttpClient/2.0.2 - INFO | jvm 1 | 2008/09/03 10:07:47 | 2008-09-03 10:07:47,224 INFO [org.restlet.Component] - Basic HTTP authentication succeeded: identifier=deployment. INFO | jvm 1 | 2008/09/03 10:07:47 | 2008-09-03 10:07:47,308 INFO [org.restlet.Component (90226)] - 2008-09-03 10:07:47 10.5.1.12 -10.5.1.12 80 PUT /content/repositories/public/com/mpigulski/business-objects/1.0-SNAPSHOT/business-objects-1.0-20080903.091443-242.jar - 201 0 11979 83 http://localhost Jakarta Commons-HttpClient/2.0.2 - INFO | jvm 1 | 2008/09/03 10:07:47 | 2008-09-03 10:07:47,458 INFO [org.sonatype.nexus.rest.ApplicationContentBridge] - Couldn't find the allow method for "MKCOL" INFO | jvm 1 | 2008/09/03 10:07:47 | java.lang.NoSuchMethodException: org.sonatype.nexus.rest.ContentResourceHandler.allowMkcol() INFO | jvm 1 | 2008/09/03 10:07:47 | at java.lang.Class.getMethod(Class.java:1581) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.getMethod(Finder.java:231) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.getAllowMethod(Finder.java:194) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.allowMethod(Finder.java:114) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.handle(Finder.java:287) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/09/03 10:07:47 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) And last but not least, there is no new snapshot jar in the repository. To fix the issue (to load a jar into the repository) I had to give all possible permissions to the deployment user, however the stacktrace in Nexus logs continues to show up.

    Sonatype JIRA | 8 years ago | Deleted User
    java.lang.NoSuchMethodException: org.sonatype.nexus.rest.ContentResourceHandler.allowMkcol()
  2. 0

    I have problems with deploying artifact to Nexus using maven deploy goal. [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from my-project Uploading: http://localhost/content/repositories/my-project/com/mpigulski/business-objects/1.0-SNAPSHOT/business-objects-1.0-20080903.090454-240.jar 2008-09-03 11:04:55 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Sonatype Nexus Repository Manager' authentication realm at localhost, but still receiving: HTTP/1.1 401 Unauthorized Last message is being repeated for a few seconds and finally I receive: [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31 seconds [INFO] Finished at: Wed Sep 03 11:05:12 CEST 2008 [INFO] Final Memory: 14M/26M [INFO] ------------------------------------------------------------------------ However, in the meantime on in Nexus server logs there is a stacktrace for every line that is repeated in client local console: INFO | jvm 1 | 2008/09/03 10:07:46 | 2008-09-03 10:07:45,963 INFO [org.restlet.Component (90226)] - 2008-09-03 10:07:45 10.5.1.12 -10.5.1.12 80 MKCOL /content/repositories/ - 405 370 - 1 http://localhost Jakarta Commons-HttpClient/2.0.2 - INFO | jvm 1 | 2008/09/03 10:07:47 | 2008-09-03 10:07:47,224 INFO [org.restlet.Component] - Basic HTTP authentication succeeded: identifier=deployment. INFO | jvm 1 | 2008/09/03 10:07:47 | 2008-09-03 10:07:47,308 INFO [org.restlet.Component (90226)] - 2008-09-03 10:07:47 10.5.1.12 -10.5.1.12 80 PUT /content/repositories/public/com/mpigulski/business-objects/1.0-SNAPSHOT/business-objects-1.0-20080903.091443-242.jar - 201 0 11979 83 http://localhost Jakarta Commons-HttpClient/2.0.2 - INFO | jvm 1 | 2008/09/03 10:07:47 | 2008-09-03 10:07:47,458 INFO [org.sonatype.nexus.rest.ApplicationContentBridge] - Couldn't find the allow method for "MKCOL" INFO | jvm 1 | 2008/09/03 10:07:47 | java.lang.NoSuchMethodException: org.sonatype.nexus.rest.ContentResourceHandler.allowMkcol() INFO | jvm 1 | 2008/09/03 10:07:47 | at java.lang.Class.getMethod(Class.java:1581) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.getMethod(Finder.java:231) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.getAllowMethod(Finder.java:194) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.allowMethod(Finder.java:114) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Finder.handle(Finder.java:287) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/09/03 10:07:47 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/09/03 10:07:47 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/09/03 10:07:47 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) And last but not least, there is no new snapshot jar in the repository. To fix the issue (to load a jar into the repository) I had to give all possible permissions to the deployment user, however the stacktrace in Nexus logs continues to show up.

    Sonatype JIRA | 8 years ago | Deleted User
    java.lang.NoSuchMethodException: org.sonatype.nexus.rest.ContentResourceHandler.allowMkcol()
  3. 0

    Apache CXF 2.6.11 Two declarations cause a collision in the ObjectFactory class [0,0]

    Stack Overflow | 3 years ago | user3284116
    java.lang.NoSuchMethodException: org.apache.cxf.tools.common.ToolException.addSuppressed(java.lang.Throwable)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 1 year ago
    java.lang.NoSuchMethodException: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, javax.servlet.http.HttpServletRequest)
  6. 0

    Substitute value in HashMap at runtime

    Google Groups | 5 years ago | mike
    java.lang.NoSuchMethodException: test.TextHelp.getCurrentActivity()()

  1. bmacedo 3 times, last 1 week ago
  2. kjhdofjosvs 4 times, last 1 month ago
  3. eti22 1 times, last 1 month ago
  4. filpgame 11 times, last 3 weeks ago
  5. rube 3 times, last 2 months ago
41 more registered users
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoSuchMethodException

    org.sonatype.nexus.rest.ContentResourceHandler.allowMkcol()

    at java.lang.Class.getMethod()
  2. Java RT
    Class.getMethod
    1. java.lang.Class.getMethod(Class.java:1581)
    1 frame
  3. org.restlet
    Filter.handle
    1. org.restlet.Finder.getMethod(Finder.java:231)
    2. org.restlet.Finder.getAllowMethod(Finder.java:194)
    3. org.restlet.Finder.allowMethod(Finder.java:114)
    4. org.restlet.Finder.handle(Finder.java:287)
    5. org.restlet.Filter.doHandle(Filter.java:105)
    6. org.restlet.Filter.handle(Filter.java:135)
    7. org.restlet.Router.handle(Router.java:445)
    8. org.restlet.Filter.doHandle(Filter.java:105)
    9. org.restlet.Filter.handle(Filter.java:135)
    10. org.restlet.Filter.doHandle(Filter.java:105)
    11. org.restlet.Filter.handle(Filter.java:135)
    11 frames
  4. Nexus Core
    RetargetableRestlet.handle
    1. org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33)
    1 frame
  5. org.restlet
    Filter.doHandle
    1. org.restlet.Filter.doHandle(Filter.java:105)
    2. org.restlet.Filter.handle(Filter.java:135)
    3. org.restlet.Filter.doHandle(Filter.java:105)
    3 frames
  6. com.noelios.restlet
    StatusFilter.doHandle
    1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
    1 frame
  7. org.restlet
    Filter.handle
    1. org.restlet.Filter.handle(Filter.java:135)
    2. org.restlet.Filter.doHandle(Filter.java:105)
    3. org.restlet.Filter.handle(Filter.java:135)
    3 frames
  8. com.noelios.restlet
    ApplicationHelper.handle
    1. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
    1 frame
  9. org.restlet
    Filter.handle
    1. org.restlet.Application.handle(Application.java:294)
    2. org.restlet.Filter.doHandle(Filter.java:105)
    3. org.restlet.Filter.handle(Filter.java:135)
    4. org.restlet.Router.handle(Router.java:445)
    5. org.restlet.Filter.doHandle(Filter.java:105)
    6. org.restlet.Filter.handle(Filter.java:135)
    7. org.restlet.Router.handle(Router.java:445)
    8. org.restlet.Filter.doHandle(Filter.java:105)
    9. org.restlet.Filter.handle(Filter.java:135)
    9 frames
  10. com.noelios.restlet
    ComponentHelper.handle
    1. com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
    1 frame
  11. org.restlet
    Server.handle
    1. org.restlet.Component.handle(Component.java:231)
    2. org.restlet.Server.handle(Server.java:282)
    2 frames
  12. com.noelios.restlet
    ServerServlet.service
    1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
    2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
    3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399)
    3 frames
  13. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  14. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    2 frames
  15. org.jsecurity.web
    JSecurityFilter.doFilterInternal
    1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
    2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    10 frames
  16. Nexus Core
    NexusJSecurityFilter.doFilterInternal
    1. org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
    1 frame
  17. org.jsecurity.web
    OncePerRequestFilter.doFilter
    1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    1 frame
  18. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
    8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    10. org.mortbay.jetty.Server.handle(Server.java:324)
    11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
    13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
    14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    16 frames
  19. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    1 frame