Can't connect
See original GitHub issueCaused by: java.lang.IllegalStateException: Service ClassMappingTypeService not found
at org.litote.kmongo.service.ClassMappingTypeKt$defaultService$2.invoke(ClassMappingType.kt:38) ~[?:?]
at org.litote.kmongo.service.ClassMappingTypeKt$defaultService$2.invoke(ClassMappingType.kt) ~[?:?]
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ~[?:?]
at org.litote.kmongo.service.ClassMappingTypeKt.getDefaultService(ClassMappingType.kt) ~[?:?]
at org.litote.kmongo.service.ClassMappingTypeKt.getCurrentService(ClassMappingType.kt:49) ~[?:?]
at org.litote.kmongo.service.ClassMappingTypeKt.access$getCurrentService$p(ClassMappingType.kt:1) ~[?:?]
at org.litote.kmongo.service.ClassMappingType.<init>(ClassMappingType.kt:57) ~[?:?]
at org.litote.kmongo.service.ClassMappingType.<clinit>(ClassMappingType.kt:57) ~[?:?]
... 15 more
This error appears when trying to connect to the mongodb database.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
7 Ways to Troubleshoot a 'Can't Connect to This Network' Error
7 ways to troubleshoot when your PC 'can't connect to this network' · Restart Windows · Forget your WiFi network · Toggle airplane...
Read more >Solved: Can't Connect To This Network Error [14 Possible Fixes]
Ways To Fix Can't Connect To This Network Windows 10 Error · Method 1: Forget Network · Method 2: Enable/Disable Airplane Mode ·...
Read more >Fix “Windows Can't Connect To This Network” Error
Windows 10 can't connect to this network” is one of the issues you could face while trying to connect your Windows machine to...
Read more >How to Fix Can't Connect to This Network Error in Windows 10
The easiest way to fix "Can't Connect to this Network" error in Windows 10 is to forget the Network and rejoin by entering...
Read more >Device Can't Connect to Wi-Fi? Here's What to Do
How to fix your network problems ... Reboot your modem: Just as your IT guy starts with a computer reboot, your internet service...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed it with
System.setProperty("org.litote.mongo.test.mapping.service", "org.litote.kmongo.jackson.JacksonClassMappingTypeService")
Is it the same idea? -> https://gist.github.com/RezzedUp/d7957af10bfbfc6837ae1a4b55975f40
A PR would be appreciated 😉