に更新した後、すべてがAkka.Persistenceの問題は1.3.1.0
しかし、多くの問題を手に入れたし、それらを解決する...その後、私は1.3.1.0にAKKA.NETに更新することにしました....うまく働いていました私はこの最後のものに解決策を見つけることができないようです(私は願っています)。エラーメッセージ:
---> System.Reflection.TargetInvocationException:例外が呼び出しのターゲットによってスローされました。 ---> System.MissingMethodException:メソッドが見つかりません: '無効 Akka.Persistence.Sql.Common.Snapshot.QueryConfiguration..ctor(System.String、 System.String、System.String、System.String、System。 String、 System.String、System.String、System.TimeSpan) '。 Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore..ctorで (コンフィグ 設定)
助けてください。あなたはまだAkka.Persistence 1.3以降で最新ではないAkka.Persistence.SqlServer
を、使用しているよう
> [ERROR][9/7/2017 1:44:56 PM][Thread 0007][akka://ECHO3DEV/system/akka.persistence.snapshot-store.sql-server] Error while creating actor instance of type Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore with 1 args: ( class : "Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore, Akka.Persistence.SqlServer"
plugin-dispatcher : akka.actor.default-dispatcher
table-name : _SnapshotStore
schema-name : dbo
auto-initialize : on
connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True"
)
Cause: [akka://ECHO3DEV/system/akka.persistence.snapshot-store.sql-server#1885464091]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore with 1 args: ( class : "Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore, Akka.Persistence.SqlServer"
plugin-dispatcher : akka.actor.default-dispatcher
table-name : _SnapshotStore
schema-name : dbo
auto-initialize : on
connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True"
) ---> **System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Akka.Persistence.Sql.Common.Snapshot.QueryConfiguration..ctor(System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.TimeSpan)**'.
at Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore..ctor(Config config)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Akka.Actor.Props.ActivatorProducer.Produce()
at Akka.Actor.Props.NewActor()
--- End of inner exception stack trace ---
at Akka.Actor.Props.NewActor()
at Akka.Actor.ActorCell.CreateNewActorInstance()
at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0()
at Akka.Actor.ActorCell.UseThreadContext(Action action)
at Akka.Actor.ActorCell.NewActor()
at Akka.Actor.ActorCell.Create(Exception failure)
--- End of inner exception stack trace ---
at Akka.Actor.ActorCell.Create(Exception failure)
at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)
[ERROR][9/7/2017 1:44:56 PM][Thread 0007][akka://ECHO3DEV/system/akka.persistence.journal.sql-server] Error while creating actor instance of type Akka.Persistence.SqlServer.Journal.SqlServerJournal with 1 args: ( class : "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer"
plugin-dispatcher : akka.actor.default-dispatcher
connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True"
connection-timeout : 30s
schema-name : dbo
table-name : _EventJournal
auto-initialize : on
timestamp-provider : "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common"
metadata-table-name : _Metadata
)
Cause: [akka://ECHO3DEV/system/akka.persistence.journal.sql-server#578824267]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Akka.Persistence.SqlServer.Journal.SqlServerJournal with 1 args: ( class : "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer"
plugin-dispatcher : akka.actor.default-dispatcher
connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True"
connection-timeout : 30s
schema-name : dbo
table-name : _EventJournal
auto-initialize : on
timestamp-provider : "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common"
metadata-table-name : _Metadata
) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Akka.Persistence.Sql.Common.Journal.QueryConfiguration..ctor(System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.TimeSpan)'.
at Akka.Persistence.SqlServer.Journal.SqlServerJournal..ctor(Config journalConfig)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Akka.Actor.Props.ActivatorProducer.Produce()
at Akka.Actor.Props.NewActor()
--- End of inner exception stack trace ---
at Akka.Actor.Props.NewActor()
at Akka.Actor.ActorCell.CreateNewActorInstance()
at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0()
at Akka.Actor.ActorCell.UseThreadContext(Action action)
at Akka.Actor.ActorCell.NewActor()
at Akka.Actor.ActorCell.Create(Exception failure)
--- End of inner exception stack trace ---
at Akka.Actor.ActorCell.Create(Exception failure)
at Akka.Actor.ActorCell.
SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)
だから私は今何をすべきですか?すべてのAKKA.NETライブラリを旧バージョンまたは永続性部分にロールバックすべきですか?また、古いバージョンのどれが最も堅牢で働いていますか?ありがとう – tk1977tk
同じ問題を抱えている人には、goto Nuget managerとAKKA.NETを1.2.3にダウングレードします(すべての依存パッケージをダウングレードします)。また、Hyperionシリアライザを使用している場合は、それを0.92にダウングレードします – tk1977tk