Questo articolo è un articolo speculare di traduzione automatica, clicca qui per saltare all'articolo originale.

Vista: 19339|Risposta: 0

[Fonte] Nessun oggetto chiamato 'MySql-5.7.17' è definito : Non si trova la definizione per oggetto...

[Copiato link]
Pubblicato su 18/05/2017 14:07:27 | | |
Nessun oggetto chiamato 'MySql-5.7.17' è definito : Non si trova definizione per l'oggetto [MySql-5.7.17]
Errore generato da una dipendenza dell'oggetto 'MySql-5.7.17' definita in 'assembly [Spring.Data, Version=1.1.2.20125, Culture=neutral, PublicKeyToken=65e474d141e25e07], resource [ Spring.Data.Common.dbproviders.xml]' : Dipendenza insoddisfatta espressa tramite argomento del costruttore con indice 2 di tipo [System.Type] : Non è stato possibile convertire il valore dell'argomento del costruttore [ MySql.Data.MySqlClient.MySqlConnection, MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d] al tipo richiesto [System.Type] : Non è possibile convertire la proprietà valore di tipo [System.String] al tipo richiesto [System.Type] per la proprietà ''.
mentre si risolve 'argomento costruttore con nome dbmetadata' in '(oggetto interno)' definito in 'assembly [Spring.Data, Version=1.1.2.20125, Culture=neutral, PublicKeyToken= 65e474d141e25e07], risorsa [Spring.Data.Common.dbproviders.xml]'
La ragione principale è che Spring non può inizializzare il provider del database durante la configurazione del DbProvider.

Dai un'occhiata al Fornitore del Database di Supporto Primaverile:

SqlServer-1.1 - Microsoft SQL Server, provider V1.0.5000.0 in framework .NET V1.1
SqlServer-2.0 (aliasing in System.Data.SqlClient) - Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0
SqlServerCe-3.1 - Microsoft SQL Server Compact Edition, provider V9.0.242.0
SqlServerCe-3.5.1 (alias System.Data.SqlServerCe) - Microsoft SQL Server Compact Edition, provider V3.5.1.0
OleDb-1.1 - OleDb, provider V1.0.5000.0 in framework .NET V1.1
OleDb-2.0 (aliasado in System.Data.OleDb) - OleDb, provider V2.0.0.0 in framework .NET V2.0
OracleClient-2.0 (aliasat in System.Data.OracleClient) - Oracle, Microsoft provider V2.0.0.0
OracleODP-2.0 (aliasata in System.DataAccess.Client) - Oracle, provider Oracle V2.102.2.20 (Oracle 10g)
OracleODP-11-2.0 - Oracle, provider Oracle V2.111.7.20 (Oracle 11g)
MySQL - MySQL, provider MySQL 1.0.10.1
MySql-1.0.9 - MySQL, provider MySQL 1.0.9
MySql-5.0 - MySQL, provider MySQL 5.0.7.0
MySql-5.0.8.1 - MySQL, provider MySQL 5.0.8.1
MySql-5.1 - MySQL, provider MySQL 5.1.2.2
MySql-5.1.4 - MySQL, provider MySQL 5.1.2.2
MySql-5.2.3 - MySQL, provider MySQL 5.2.3.0
MySql-6.1.3 (aliasing in MySql.Data.MySqlClient) - MySQL, provider MySQL 6.1.3.0
Npgsql-1.0 - provider Postgresql 1.0.0.0 (e 1.0.0.1 - sono stati costruiti con le stesse informazioni di versione)
Npgsql-2.0-beta1 - Provider Postgresql 1.98.1.0 beta 1
Npgsql-2.0 - Provider Postgresql 2.0.0.0
DB2-9.0.0-1.1 - IBM DB2 Data Provider 9.0.0 per .NET Framework 1.1
DB2-9.0.0-2.0 (aliasata in IBM. Data.DB2) - IBM DB2 Data Provider 9.0.0 per .NET Framework 2.0
DB2-9.1.0-1.1 - IBM DB2 Data Provider 9.1.0 per .NET Framework 1.1
DB2-9.1.0.2 (aliasata in IBM. Data.DB2.9.1.0) - IBM DB2 Data Provider 9.1.0 per .NET Framework 2.0
iDB2-10.0.0.0 - IBM iSeries DB2 Data Provider 10.0.0.0 per .NET Framework 2.0
SQLite-1.0.43 - Provider SQLite 1.0.43 per .NET Framework 2.0
SQLite-1.0.44 - Fornitore SQLite 1.0.44 per .NET Framework 2.0
SQLite-1.0.47 - Provider SQLite 1.0.47 per .NET Framework 2.0
SQLite-1.0.56 - Provider SQLite 1.0.56 per .NET Framework 2.0
SQLite-1.0.65 (aliasado in System.Data.SQLite) - Provider SQLite 1.0.65 per .NET Framework 2.0
file:///http://www.springframework.net/docs/1.3.0/reference/html/images/admons/note.pngNoteThe default parameter prefix used in SQLite is : and not @, please write your SQL accordingly or define a provider definition for SQLite.
Firebird-2.1 (aliasado Firebird-2.1) - Server Firebird, provider V2.1.0.0 nel framework .NET V2.0
SybaseAse-12 - Provider Sybase ASE per ASE 12.x
SybaseAse-15 - Provider Sybase ASE per ASE 15.x
SybaseAse-AdoNet2 - Sybase ADO.NET provider 2.0 per ASE 12.x e 15.x
Odbc-1.1 - ODBC provider V1.0.5000.0 in framework .NET V1.1
Odbc-2.0 - Fornitore ODBC V2.0.0.0 in framework .NET V2
Cache-2.0.0.1 (aliasata in InterSystems.Data.CacheClient) - Provider di cache Versione 2.0.0.1 nel framework .NET V2



http://www.springframework.net/docs/1.3.0/reference/html/dbprovider.html





Precedente:La differenza tra la formattazione temporale hh:mm:ss e HH:mm:ss
Prossimo:nhibernate non può creare con successo una struttura di tabella in un database MySQL
Disconoscimento:
Tutto il software, i materiali di programmazione o gli articoli pubblicati dalla Code Farmer Network sono destinati esclusivamente all'apprendimento e alla ricerca; I contenuti sopra elencati non devono essere utilizzati per scopi commerciali o illegali, altrimenti gli utenti dovranno sostenere tutte le conseguenze. Le informazioni su questo sito provengono da Internet, e le controversie sul copyright non hanno nulla a che fare con questo sito. Devi eliminare completamente i contenuti sopra elencati dal tuo computer entro 24 ore dal download. Se ti piace il programma, ti preghiamo di supportare software autentico, acquistare la registrazione e ottenere servizi autentici migliori. In caso di violazione, vi preghiamo di contattarci via email.

Mail To:help@itsvse.com