作成
コマンドプロンプトの文字化けを直す(...繧キ繝ウ繝懊...)
###command mvn clean package jetty:run ### 上記をコマンドプロンプトで実行するとエラー出力が文字化けします。 ###command error ..... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project swagger-jaxrs-server: Compilation failure: Compilation failure: [ERROR] /D:/app/Testform/SampleServer/src/gen/java/io/swagger/api/ApiResponseMessage.java:[3,33] 繝代ャ繧ア繝シ繧クjavax.xml.bind.annotation縺ッ蟄伜惠縺励∪縺帙s [ERROR] /D:/app/Testform/SampleServer/src/gen/java/io/swagger/api/ApiResponseMessage.java:[5,27] 繝代ャ繧ア繝シ繧クjavax.xml.bind.annotation縺ッ蟄伜惠縺励∪縺帙s [ERROR] /D:/app/Testform/SampleServer/src/gen/java/io/swagger/api/ApiResponseMessage.java:[44,6] 繧キ繝ウ繝懊Ν繧定ヲ九▽縺代i繧後∪縺帙s [ERROR] 繧キ繝ウ繝懊Ν: 繧ッ繝ゥ繧ケ XmlTransient [ERROR] 蝣エ謇: 繧ッ繝ゥ繧ケ io.swagger.api.ApiResponseMessage ..... ###title 対処法 ### 以下のコマンドを実行 ###command chcp 65001 ### このあとに実行すると文字化けが解消されました。 ###command ret ..... [WARNING] /D:/app/Testform/SampleServer/src/main/java/io/swagger/api/impl/ApplicationsApiServiceImpl.java: 詳細は、-Xlint:removalオプションを指定して再コンパイルしてください。 [ERROR] COMPILATION ERROR : /D:/app/Testform/SampleServer/src/gen/java/io/swagger/api/ApiResponseMessage.java:[3,33] パッケージjavax.xml.bind.annotation は存在しません [ERROR] /D:/app/Testform/SampleServer/src/gen/java/io/swagger/api/ApiResponseMessage.java:[5,27] パッケージjavax.xml.bind.annotation は存在しません [ERROR] /D:/app/Testform/SampleServer/src/gen/java/io/swagger/api/ApiResponseMessage.java:[44,6] シンボルを見つけられません シンボル: クラス XmlTransient 場所: クラス io.swagger.api.ApiResponseMessage [INFO] 3 errors ..... ###center (img://18/445s)
wakatta 記法
投稿の仕方
基本的な記法
エンジニア向け記法
記法のサンプル
このコンテンツを見る