java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResourcesFactory>java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResourcesFactory

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 strutstestcase by darkpenguin
, 1 year ago
org.apache.struts.util.PropertyMessageResourcesFactory>java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResourcesFactory
via liferay.com by Unknown author, 2 years ago
org.apache.struts.util.PropertyMessageResourcesFactory cannot be cast to org.apache.struts.util.MessageResourcesFactory
java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResourcesFactory>java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResourcesFactory
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:193)
at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at org.apache.struts.util.RequestUtils.(RequestUtils.java:134)
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:179)
at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:228)

Users with the same issue

You are the first who have seen this exception.

Write tip

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