1
Hier aufgelöst werden einige CodeMongoException.DuplicateKey kann nicht auf einen Typ in Eclipse IDE
try {
usersCollection.insert(user);
return true;
} catch (MongoException.DuplicateKey e) {
System.out.println("Username already in use: " + username);
return false;
}
Ich habe auf der Linie } catch (MongoException.DuplicateKey e) {
MongoException.DuplicateKey cannot be resolved to a type
Warnung Wie man dieses Problem beheben?
I mongodb Fahrer 3.2.2
ok, danke, es hat gelöst. – kn3l