无法部署Artifact Portal:war

问题描述 投票:0回答:1

我有一个问题,我最近在一家公司找到了一份开发人员的工作。我的任务是维护网站。但问题是什么,当我来的时候,我被告知要在本地提升网站。该网站是用 java、java ee、keycloak 等编写的。我以某种方式弄清楚了这一点,并从 9 个文件中取出了 4 个 war 文件。我不知道如何取出其他 5 个文件,我尝试了一切。现在我将向您发送 intellij IDEA 日志中出现的错误。请有遇到过这种情况的人帮帮我吧

11:12:47,015 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0019: Stopped Driver service with driver-name = portal.war_org.h2.Driver_1_4
11:12:48,375 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment portal.war (runtime-name: portal.war) in 1366ms
[2024-02-27 11:12:48,461] Artifact portal:war: Error during artifact deployment. See server log for details.
[2024-02-27 11:12:48,463] Artifact portal:war: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"portal.war\".undertow-deployment" => "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountRestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.security.PortalSecurityService kz.nitec.egov.archportal.account.AccountRestService.portalSecurityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalSecurityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.archportal.CacheService kz.nitec.egov.base.security.PortalSecurityService.cacheService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountRestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.security.PortalSecurityService kz.nitec.egov.archportal.account.AccountRestService.portalSecurityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalSecurityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.archportal.CacheService kz.nitec.egov.base.security.PortalSecurityService.cacheService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.security.PortalSecurityService kz.nitec.egov.archportal.account.AccountRestService.portalSecurityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalSecurityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.archportal.CacheService kz.nitec.egov.base.security.PortalSecurityService.cacheService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalSecurityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.archportal.CacheService kz.nitec.egov.base.security.PortalSecurityService.cacheService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.archportal.CacheService kz.nitec.egov.base.security.PortalSecurityService.cacheService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.entity.EntityService kz.nitec.egov.archportal.CacheService.entityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.base.email.EmailService kz.nitec.egov.base.entity.EntityService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private kz.nitec.egov.services.email.KeycloakEmailService kz.nitec.egov.base.email.EmailService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keycloakEmailService': Invocation of init method failed; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
    Caused by: org.springframework.web.client.HttpClientErrorException: 400 Bad Request"}}

我不知何故想出了办法,并从 9 个文件中取出了 4 个。我不知道如何取出另外 5 个,我尝试了一切。

java spring performance keycloak 400-bad-request
1个回答
0
投票

仔细检查您的拼写是否正确,因为整个错误堆栈返回的都是 4xx http 代码。最后确保您要定位的文件存在于该位置。如果您可以添加一些有关您发出的确切请求的更多信息,这确实有助于改善问题,因为我们只能看到跟踪的开头以及您发出的请求格式错误。

© www.soinside.com 2019 - 2024. All rights reserved.