Unable to locate deployment context from portlet properties

Posted on 23/02/2012 by Charalampos Chrysikopoulos

Are you fresh in life ray and testing Service Builder for the first time? is everything working fine, but in the console you see the following exception?

Unable to locate deployment context from portlet properties
java.lang.ExceptionInInitializerError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...

Then you should try to create in your root src folder an empty file with the name port let.properties.
Not a nice solution (more a workaround). Hope that life ray will fix it soon.

This entry was posted in Liferay and tagged error, Liferay by Charalampos Chrysikopoulos