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
- ORA-06502: PL/SQL: numeric or value error: character to number conversion error錯誤的解決方法SQLError
- Unrecognized Windows Sockets error: 0: JVM_Bind異常ZedWindowsErrorJVM
- 異常解決——The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than oneServerZed
- java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized...報錯解決JavaSQLExceptionServerZed
- PSQLException: ERROR: failed to find conversion function from unknown to charSQLExceptionErrorAIFunction
- 【已解決】Error filter ListenerStartErrorFilter
- service mysql start出錯,mysql啟動不了,解決mysql: unrecognized service錯誤MySqlZed
- [Android] Eclipse錯誤:Conversion to Dalvik format failed with error 1AndroidEclipseORMAIError
- python -- 解決字典【KEY ERROR】PythonError
- Internal error:1058 解決方法Error
- Datastore error in 'dirbdb'錯誤解決ASTError
- Java錯誤提示-------java.net.SocketException:Unrecognized Windows Sockets error: 0: JVM_BindJavaExceptionZedWindowsErrorJVM
- 帝國CMS提示parse error syntax error的解決方法Error
- 關於 unrecognized import path "golang.org/x/sys" 的另一個解決辦法ZedImportGolang
- 解決 "Script Error" 的另類思路Error
- Error creating bean with name 解決ErrorBean
- 解決docker: Error response from daemon故障DockerError
- PHP curl error 60 錯誤解決PHPError
- AndroidStudio解決Error:Unabletostartthedaemonprocess.AndroidError
- SQL ERROR 7311解決方法SQLError
- DedeCMS Error: Tag disabled: "php" 解決方法ErrorPHP
- 解決IDEA Error:Output directory is not specifiedIdeaError
- error: use of deleted function ‘YYSTYPE::YYSTYPE()’[解決]ErrordeleteFunction
- Spring 異常關鍵字 no matching editors or conversion strategy found 解決方法Spring
- mac xcrun: error: active developer path 解決方法MacErrorDeveloper
- Manjaro解決 Node.JS Error: ENOSPCJARNode.jsError
- 解決python MySQLdb import Error問題PythonMySqlImportError
- FTP Connection refused error 解決辦法FTPError
- Got error 28 from storage engine 解決方法GoError
- Log4j2又爆雷!2.16.0存在DOS風險,升級2.17.0可解決
- 錯誤處理--pure specifier can only be specified for functionsFunction
- 解決 yum clean all Error rpmdb open failedErrorAI
- Vue 下 ESLint 的 error 解決辦法VueEsLintError
- windows redis sentinel listen: Unknown error解決方案WindowsRedisError
- ArchLinux出現ACPI ERROR的解決方法LinuxError
- XAMPP, Apache - Error: Apache shutdown unexpectedly 解決方法ApacheError