log4j2 ERROR StatusLogger Unrecognized conversion specifier解決
這個問題時使用自定義log4j2 transformers的時候,在使用shadow進行構建jir包後,如果出現og4j2 ERROR StatusLogger Unrecognized conversion specifier這樣的錯,此時需要在gradle中加入transform:
import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
// Create a fat JAR
shadowJar {
archiveClassifier.set('all')
mergeServiceFiles()
// Necessary to avoid errors with Log4J2
transform(Log4j2PluginsCacheFileTransformer)
}
相關文章
- 測試中出現ERROR StatusLogger No log4j2 configuration fileError
- Syntax error, unrecognized expression: li[value=]ErrorZedExpress
- PSQLException: ERROR: failed to find conversion function from unknown to charSQLExceptionErrorAIFunction
- 異常解決——The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than oneServerZed
- python -- 解決字典【KEY ERROR】PythonError
- 【已解決】Error filter ListenerStartErrorFilter
- Error creating bean with name 解決ErrorBean
- Spring 異常關鍵字 no matching editors or conversion strategy found 解決方法Spring
- java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized...報錯解決JavaSQLExceptionServerZed
- 解決IDEA Error:Output directory is not specifiedIdeaError
- Error: error:0308010C:digital envelope routines::unsupported 解決方案ErrorGit
- 帝國CMS提示parse error syntax error的解決方法Error
- HBuilder解決:Error: error:0308010C:digital envelope routines::unsupportedUIErrorGit
- 【Jenkins】data stream error|Error cloning remote repo ‘origin‘ 錯誤解決JenkinsErrorREM
- 解決 "Script Error" 的另類思路Error
- Manjaro解決 Node.JS Error: ENOSPCJARNode.jsError
- error: use of deleted function ‘YYSTYPE::YYSTYPE()’[解決]ErrordeleteFunction
- DedeCMS Error: Tag disabled: "php" 解決方法ErrorPHP
- PHP curl error 60 錯誤解決PHPError
- 解決docker: Error response from daemon故障DockerError
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- Vue 下 ESLint 的 error 解決辦法VueEsLintError
- windows redis sentinel listen: Unknown error解決方案WindowsRedisError
- ERROR 1290 (HY000) 解決辦法Error
- 解決方案 | MiKTex SSL connect error code 35Error
- 解決 yum clean all Error rpmdb open failedErrorAI
- 【ERROR】ORA-27102: out of memory 解決方法Error
- ArchLinux出現ACPI ERROR的解決方法LinuxError
- 解決ERROR ResizeObserver loop completed with undelivered notifications.ErrorServerOOP
- mac xcrun: error: active developer path 解決方法MacErrorDeveloper
- Dynamics CRM CRM Reporting Error: Error occurred while fetching the data extension的解決方法ErrorWhile
- 關於 unrecognized import path "golang.org/x/sys" 的另一個解決辦法ZedImportGolang
- pyinstaller打包pytest+allure框架的程式碼後,執行時exe: error: unrecognized arguments: --alluredir框架ErrorZed
- 如何解決"Parse error: syntax error"Error
- 解決 Error: ENOSPC: System limit for number of file watchers reachedErrorMIT
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- 解決 eslint 的 Parsing error: Unexpected token 錯誤EsLintError
- 解決 Jenkins 上 git 出現的 “ERROR: Error fetching remote repo 'origin'” 問題JenkinsGitErrorREM