Message Boards
Combination View Flat View Tree View
Threads [ Previous | Next ]
Bean Locator Problem
toggle
Bean Locator Problem
7/1/10 5:27 AM
Hai to All!

Getting "BeanLocator has not been set" error.
I didn't get this problem for the first time when I run my server but second time when I run this problem started to occur.
I tried to fix it in many ways but not yet successful.

Can Anyone help on this Topic?
Flag Flag
RE: Bean Locator Problem
7/12/10 12:56 PM as a reply to muhammad mpower hasan.
Here i added some steps for ur Beanlocator problems. I hope it will sovle ur problems
1. web.xml add this line:

<listener>
<listener-class>com.liferay.portal.kernel.spring.context.PortletContextLoaderListener</listener-class>
</listener>



2.liferay-plugin-package.properties

portal-dependency-jars=\
jstl.jar,\
jstl-impl.jar,\
util-java.jar,\
commons-beanutils.jar,\
commons-collections.jar,\
commons-digester.jar,\
commons-logging.jar,\
commons-lang.jar,\
commons-validator.jar,\
portals-bridges.jar


3. copy util-java.jar file from tomcat/webapps/ROOT/WEB_INF/lib and paste it into
<portletName>/docroot/WEB_INF/lib folder.

4. change the util-java.jar file as util-java1.jar
Flag Flag