1

外部サーバーに接続してビジュアルツールを起動する Maven / Java アプリケーションを実行しようとしています。コードをコンパイルして実行しようとしましたが、常に同じエラーを読んでいます:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java
(default-cli) on project seco-mart-registration-tool: An exception occured while 
executing the Java class. null: InvocationTargetException: Cannot deserialize base type 
java.util.List<class org.seco.mart.model.interfaces.ServiceInterface> from C:\Users\Chicco
\Desktop\BioSeCoBis\seco-mart-server\data\marts\theatre.si (format: JSON, charset: UTF-8, 
autoClose: false). IllegalStateException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project seco-mart-
registration-tool: An exception occured while executing the Java class. null

この IllegalStateException が何を表しているのかわかりません。手がかりはありますか?

ありがとう

4

1 に答える 1

0

メッセージにはエラーの理由が示されていますが、混乱の一部を無視する必要があります。

基本型を逆シリアル化できません
java.util.List<class org.seco.mart.model.interfaces.ServiceInterface>

InvocationTargetException、すべてを実行しようとした exec-maven-plugin によってスローされ、原因は uncatchedIllegalStateExceptionです。その例外はおそらく、オブジェクトを現在の状態で逆シリアル化できないことを伝えようとしています。

于 2012-12-28T12:27:56.653 に答える