Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atualização para novo leiaute S-1.3 #411

Open
fariasdouglas opened this issue Sep 13, 2024 · 8 comments
Open

Atualização para novo leiaute S-1.3 #411

fariasdouglas opened this issue Sep 13, 2024 · 8 comments

Comments

@fariasdouglas
Copy link

Bom dia Thiago,
Gostaria de saber se está no radar a atualização para o novo leiaute, pois no ambiente da produção restrita já se encontra atualizado.

Att, Douglas.

@marcelo225
Copy link
Contributor

@tiagoben , blz?
Complementado a informação do @fariasdouglas , estamos com esse mesmo problema, pois, na versão atual (que tá usando a versão S-1.2) do projeto está dando esse erro aqui ao enviar o 1210

image

image

Olhando na nota técnica, percebemos que houve uma implantação em PR exatamente hoje (07/10)

image

Até tentei atualizar o Esquemas XSD eSocial - Leiautes v. S-1.3 (até NT 01/2024) - rev. 03/10/2024 - produção em 02/12/2024, alterar a versão S-1.3 nos arquivos: src/esocial-jt-service/src/main/resources/application.properties, /workspace/src/esocial-jt-service/pom.xml e /workspace/src/esocial-esquemas/pom.xml, mas tive alguns problemas ao rodar os comandos mvn clean package -Pgenerate-resources -f /workspace/src/esocial-esquemas/pom.xml e mvn clean verify -f /workspace/src/pom.xml:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/BenPrRPMapper.java:[21,44] Ambiguous factory methods found for creating TItensRemunRpps: TItensRemunRpps ObjectFactory.createTItensRemunRpps(), TItensRemunRppsPerApur ObjectFactory.createTItensRemunRppsPerApur(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/PgtosMapper.java:[21,42] Can't map property "InfoIRComplem ideBenef.infoIRComplem" to "List<ESocial.EvtPgtos.IdeBenef.InfoIRComplem> ideBenef.infoIRComplem". Consider to declare/implement a mapping method: "List<ESocial.EvtPgtos.IdeBenef.InfoIRComplem> map(InfoIRComplem value)".
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/RemunMapper.java:[21,42] Ambiguous factory methods found for creating TItensRemun: TItensRemunDescFolha ObjectFactory.createTItensRemunDescFolha(), TItensRemun ObjectFactory.createTItensRemun(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/RmnRPPSMapper.java:[21,44] Ambiguous factory methods found for creating TItensRemunRpps: TItensRemunRppsDescFolha ObjectFactory.createTItensRemunRppsDescFolha(), TItensRemunRpps ObjectFactory.createTItensRemunRpps(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/DesligMapper.java:[21,35] Ambiguous factory methods found for creating TDetVerbas: TDetVerbasDescFolha ObjectFactory.createTDetVerbasDescFolha(), TDetVerbas ObjectFactory.createTDetVerbas(). See https://mapstruct.org/faq/#ambiguous for more info.
[INFO] 5 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] esocial-comunicacao 1.5 ............................ SUCCESS [  5.519 s]
[INFO] esocial-esquemas S-1.3 ............................. SUCCESS [ 12.791 s]
[INFO] esocial-jt-dominio 0.0.1-SNAPSHOT .................. SUCCESS [  3.590 s]
[INFO] esocial-jt-service 0.0.1-SNAPSHOT .................. FAILURE [  8.142 s]
[INFO] esocial 0.0.1-SNAPSHOT ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.435 s
[INFO] Finished at: 2024-10-07T15:22:10-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project esocial-jt-service: Compilation failure: Compilation failure: 
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/BenPrRPMapper.java:[21,44] Ambiguous factory methods found for creating TItensRemunRpps: TItensRemunRpps ObjectFactory.createTItensRemunRpps(), TItensRemunRppsPerApur ObjectFactory.createTItensRemunRppsPerApur(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/PgtosMapper.java:[21,42] Can't map property "InfoIRComplem ideBenef.infoIRComplem" to "List<ESocial.EvtPgtos.IdeBenef.InfoIRComplem> ideBenef.infoIRComplem". Consider to declare/implement a mapping method: "List<ESocial.EvtPgtos.IdeBenef.InfoIRComplem> map(InfoIRComplem value)".
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/RemunMapper.java:[21,42] Ambiguous factory methods found for creating TItensRemun: TItensRemunDescFolha ObjectFactory.createTItensRemunDescFolha(), TItensRemun ObjectFactory.createTItensRemun(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/RmnRPPSMapper.java:[21,44] Ambiguous factory methods found for creating TItensRemunRpps: TItensRemunRppsDescFolha ObjectFactory.createTItensRemunRppsDescFolha(), TItensRemunRpps ObjectFactory.createTItensRemunRpps(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] /workspace/src/esocial-jt-service/src/main/java/br/jus/tst/esocialjt/mapper/DesligMapper.java:[21,35] Ambiguous factory methods found for creating TDetVerbas: TDetVerbasDescFolha ObjectFactory.createTDetVerbasDescFolha(), TDetVerbas ObjectFactory.createTDetVerbas(). See https://mapstruct.org/faq/#ambiguous for more info.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :esocial-jt-service

Vai ter que alterar todas essas classes manualmente para adaptar ao nova versão do eSocial?

Obrigado!

@tiagoben
Copy link
Contributor

https://github.com/tst-labs/esocial/tree/VERSAO-S-1-3

@marcelo225
Copy link
Contributor

@tiagoben , tudo bem?
Essa versão já é a versão oficial ou ainda vai mergear para o branch principal?
Obrigado!

@tiagoben
Copy link
Contributor

Quando a versão for implantada em produção vamos fazer o merge com a master

@marcelo225
Copy link
Contributor

@tiagoben, vamos testar essa branch aqui para testar em PR.
Obrigado!

@fariasdouglas
Copy link
Author

Boa tarde Tiago, vou testar aqui também.
Obrigado!

@marcelo225
Copy link
Contributor

@tiagoben, deu um erro que já tinha na versão 1.2 a inclusão dos itens "I" (Sentença judicial (exceto reclamatória trabalhista)) e "J" (Parcelas complementares conhecidas após o fechamento da folha). Porém, no branch 1.3, não trouxe essas opções nessa classe:

https://github.com/tst-labs/esocial/blob/VERSAO-S-1-3/src/esocial-jt-dominio/src/main/java/br/jus/tst/esocial/dominio/enums/TpAcConv.java

Conforme o item "tpAcConv":

https://www.gov.br/esocial/pt-br/documentacao-tecnica/leiautes-esocial-versao-1-3-nt-01-2024-rev-03-10-2024/index.html#2299_infoDeslig_verbasResc_dmDev_infoPerAnt_ideADC_tpAcConv

image

@tiagoben
Copy link
Contributor

tiagoben commented Nov 8, 2024

@marcelo225 Atualizei a branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants