I've been moving along developing portlets using 2.6.2, no problems. All of a sudden I'm getting a class cast exception. I haven't added any jars to the server or to my project. I've even tried copying the portlet jars from the portlal.sar/lib and adding them to my project as a fix, still no luck.
Can anyone give a recommendation as to what to try? I've reinstalled a fresh copy of the 2.6.2 bundled with AS, didn't help.
I know it must be a jar conflict somewhere, just can't seem to figure out where. Is it the "portal-portlet-jsr168api-lib.jar" or "portlet-api-lib.jar" files that could be causing this?
Code that throws the exception:
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view.jsp);
21:08:27,996 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
Thanks for any help.
can't see where the error is happening.
could you, please, put some of the lines of the stacktrace of the exception
so it will be easier to see where it happens.
use the "Code" button in the message body posting editor, and the preview to make sure it is nicely readable...