-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
SpringBoot2.4.0 MavenFilteringException: Input length = 1 #24346
Comments
Please can you provide a sample project that shows the problem? |
|
There's no |
Sorry, I accidentally deleted it. Now it has been pushed up |
@brucelwl thank you for the sample. It looks like the previous of the plugin tolerated those non UTF-8 character when filtering and does not anymore. If you think there's a regression in the ressources plugin, please follow-up on their issue tracker. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I solve the error by eliminating any word that has a "ñ" from my "application.properties" file that caused me the error when deploying my project. |
…length = 1. No pueden haber acentos (o supuestamente caracteres no UTF-8 en el application.properties -> spring-projects/spring-boot#24346)
same here, i delete the "ó" letter in a comment from my .properties file and problem solved.
|
Yes, i have in my .properties file comments with accents in my words because i speak spanish, the solution is remove them, then will run for complete. |
My other option is to add this to the <build>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<!-- Add the following exclusions here. -->
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>properties</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
</build> |
Thanks for the pointers, though it would certainly be far easier to fix such errors if the tool simply gave a message saying that a certain file contains invalid characters... |
In my case, they were the file accents: |
The case of one data buffer containing multiple lines can could cause a buffer leak due to a suspected issue in concatMapIterable. This commit adds workarounds for that until the underlying issue is addressed. Closes spring-projectsgh-24346
I have deleted "ç" letter in the comment line on application.properties file and it worked.. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
In my case we have a keystore certificate file, so cant change anything in there. Here is what i did, excluded that file (sample.jks) from checks and it worked :
|
try changing your file properties to "create and delete files" this method works on me |
Thanks, well as i thought -> must remove from COMMENTARIES(#) on application.properties non-utf8 chars |
No meu application.properties existiam alguns comentários, e nesses comentários existiam caracteres especiais. Ao retirar os caracteres especiais cheguei na solução para o meu problema. Exemplo: Antes// Configurações do JPA/Hibernate Depois:// Config do JPA/Hibernate |
jdk8
SpringBoot2.4.0
maven-resources-plugin needs to be modified to version 3.1.0 to solve the problem
The text was updated successfully, but these errors were encountered: