I am devleoping application in openshift using Eclipse Luna which make use of gson jars.
I added gson jar files in the Web-inf/lib folder and it is not showing any error
OK ! i got it. For any external jars that you add in the libraries in java openshift application, you have to show the dependency in the pom.xml file This file is in webapps folder i.e. webapps/pom.xml.
I used gson-2.1.jar, so the corresponding dependency is :-
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.1</version>
</dependency>
Thanks to me :)