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 XWiki.org JIRA by Haiko van der Schaaf, 1 year ago
java.util.HashSet cannot be cast to java.lang.String
via Coderanch by rakesh kadulkar, 1 year ago
java.lang.Integer cannot be cast to java.lang.String
via Stack Overflow by praveen yeragani
, 2 years ago
org.springframework.jdbc.datasource.DriverManagerDataSource cannot be cast to java.lang.String
java.lang.ClassCastException: java.util.HashSet cannot be cast to java.lang.String	at org.hibernate.util.PropertiesHelper.resolvePlaceHolders(PropertiesHelper.java:88)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1173)	at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:142)	at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:464)	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:352)	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:158)	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:981)	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1015)	at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2266)	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:719)	at com.xpn.xwiki.XWiki.(XWiki.java:611)	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:238)	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)