小编rka*_*zyk的帖子

XmlDecoder 和 Akka Stream 的问题仅在 Docker 容器内

我只在 Docker 容器中运行的应用程序中遇到了在 AkkaStream 中使用 XmlDecoder 的问题。


错误描述

java.lang.ClassNotFoundException: com/example/xmldecoder/FileDto
Continuing ...
java.lang.ClassNotFoundException: com/example/xmldecoder/FileDto
Continuing ...
java.lang.NoSuchMethodException: <unbound>=XMLDecoder.new();
Continuing ...
java.lang.NoSuchMethodException: <unbound>=XMLDecoder.new();
Continuing ...
java.lang.IllegalStateException: The outer element does not return value
Continuing ...
java.lang.IllegalStateException: The outer element does not return value
Continuing ...
java.lang.IllegalStateException: The outer element does not return value
Continuing ...
java.lang.IllegalStateException: The outer element does not return value
Continuing ...
2019-05-22 09:42:29.145 ERROR 1 --- [onPool-worker-5] com.example.xmldecoder.FileReader        : Unexpected exception in load file, {} 
java.lang.ArrayIndexOutOfBoundsException: Index …
Run Code Online (Sandbox Code Playgroud)

java docker akka-stream

5
推荐指数
1
解决办法
205
查看次数

标签 统计

akka-stream ×1

docker ×1

java ×1