0
내 로컬 서버가 Maven 중앙 리포지토리 (https://repo.maven.apache.org/maven2)에 액세스 할 수 없으므로 아티팩트를 업로드 할 때 아래 문제를 충족합니다. KIE 워크 벤치, 그리고 난jboss kie workbench : 어떻게하면 maven 중앙 리포지토리 URL을 Kie 워크 벤치의 로컬 로컬 repo URL로 바꿀 수 있습니까
SEVERE: Servlet.service() for servlet [M2Servlet] in context with path [/kie-drools-wb] threw exception
java.lang.RuntimeException: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for org.mybatis:mybatis:3.2.8
[FATAL] Non-resolvable parent POM: Failure to transfer org.mybatis:mybatis-parent:pom:21 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.mybatis:mybatis-parent:pom:21 from/to central (https://repo.maven.apache.org/maven2): connect timed out @ line 20, column 11
for project org.mybatis:mybatis:3.2.8
at org.guvnor.m2repo.backend.server.GuvnorM2Repository.getDistributionManagement(GuvnorM2Repository.java:462)
at org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:373)
at org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:178)
at org.guvnor.m2repo.backend.server.GuvnorM2Repository$Proxy$_$$_WeldClientProxy.deployArtifact(GuvnorM2Repository$Proxy$_$$_WeldClientProxy.java)
at org.guvnor.m2repo.backend.server.M2RepoServiceImpl.deployJar(M2RepoServiceImpl.java:55)
at org.guvnor.m2repo.backend.server.M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.deployJar(M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.java)
at org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.uploadJar(HttpPostHelper.java:168)
at org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.upload(HttpPostHelper.java:122)
at org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.handle(HttpPostHelper.java:62)
at org.guvnor.m2repo.backend.server.M2Servlet.doPost(M2Servlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:615)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.kie.integration.tomcat.JACCValve.invoke(JACCValve.java:101)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
jboss kie workbench working dir의 setting.xml을 검색하지만 아무 것도 얻을 수 없으므로 maven 서버 내부의 kie workbench를 maven 중앙 저장소 (https : //repo.maven.apache)와 함께 사용하는 방법을 알지 못합니다. org/maven2) –