java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid type id 'org.apereo.cas.support.oauth.services.OAuthRegisteredService' (for id type 'Id.class'): no such class found

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ioanb7
, 9 months ago
java.lang.IllegalArgumentException: Invalid type id 'org.apereo.cas.support.oauth.services.OAuthRegisteredService' (for id type 'Id.class'): no such class found
via Google Groups by casuser, 1 week ago
: {"@class":"org.apereo.cas.services.RegexRegisteredService","serviceId":"^https://www.apereo.org","name":"Apereo","theme":"apereo","id":10000002,"description":"Apereo foundation sample service","proxyPolicy":{"@class
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid type id 'org.apereo.cas.support.oauth.services.OAuthRegisteredService' (for id type 'Id.class'): no such class found
at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver._typeFromId(ClassNameIdResolver.java:66)
at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver.typeFromId(ClassNameIdResolver.java:48)
at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:154)
at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:108)
at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:93)
at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:131)
at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:42)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736)
at org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer.from(AbstractJacksonBackedStringSerializer.java:120)
at org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao.load(AbstractResourceBasedServiceRegistryDao.java:211)
at org.apereo.cas.services.ServiceRegistryConfigWatcher.handleCreateEvent(ServiceRegistryConfigWatcher.java:166)
at org.apereo.cas.services.ServiceRegistryConfigWatcher.lambda$handleEvent$1(ServiceRegistryConfigWatcher.java:117)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at org.apereo.cas.services.ServiceRegistryConfigWatcher.handleEvent(ServiceRegistryConfigWatcher.java:104)
at org.apereo.cas.services.ServiceRegistryConfigWatcher.run(ServiceRegistryConfigWatcher.java:75)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 6 days ago

Know the solutions? Share your knowledge to help other developers to debug faster.