java.lang.ClassCastException: The target class does not match the specified target type

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 Tridion by Andy Rowland
, 1 year ago
The target class does not match the specified target type
via Tridion by Vivek Dhiman
, 9 months ago
The target class does not match the specified target type
java.lang.ClassCastException: The target class does not match the specified target type
at com.tridion.util.ReflectionUtil.loadClassInstanceWithTypes(ReflectionUtil.java:83)
at com.tridion.util.ReflectionUtil.loadClassInstance(ReflectionUtil.java:108)
at com.tridion.storage.filesystem.FSDAOFactory.configureBundle(FSDAOFactory.java:74)
at com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configureStorage(StorageFactoryConfigurationLoader.java:91)
at com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configureStorage(StorageFactoryConfigurationLoader.java:65)
at com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configure(StorageFactoryConfigurationLoader.java:51)
at com.tridion.configuration.step.ConfigurationStepLoader.configure(ConfigurationStepLoader.java:47)
at com.tridion.storage.StorageManagerFactory.configure(StorageManagerFactory.java:137)
at com.tridion.services.BaseService.(BaseService.java:113)
at com.tridion.storage.StorageManagerFactory.(StorageManagerFactory.java:104)
at com.tridion.storage.StorageManagerFactory.reloadInstance(StorageManagerFactory.java:84)
at com.tridion.storage.StorageManagerFactory.(StorageManagerFactory.java:56)
at com.tridion.transport.HTTPSReceiverServlet.init(HTTPSReceiverServlet.java:86)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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