How to fix – org.springframework.social.UncategorizedApiException: (#12) bio field is deprecated for versions v2.8 and higher I encountered this error when using spring-social-facebook API. I did git clone of Spring tutorial for accessing facebook data I was hoping for it to work straightaway but got blocked by this error. Following steps helped me fix this problem, hope it helps. […]
Month: March 2023
How to List and Delete Docker Images
Introduction Docker image is an immutable file composed of layers of other images.In this tutorial, I will list out various useful commands to list, delete or remove docker images and also fix some common errors with below commands. Listing the images To list all Docker Images
1 2 3 | docker images |
To list Docker Images including composition of layers […]
6 Reasons To Join Big Data Analytics Now
Why you should learn BIG DATA Analytics now Introduction Big data is probably one of the most happening buzz words in tech space. Let’s see why it is being called the Sexiest job of 21st Century. Believe it or not, you have been contributing a lot to Big Data space every day by the digital traces […]
How to Enable Docker Remote REST API on Docker Host
Enable Docker Remote REST API on Docker Host in Ubuntu Introduction Docker provides remote REST API which is beneficial if you want to connect to a remote docker host. Few of the functions which you can achieve using Docker REST API over a simple browser are Create and Manage Containers Get low-level information about a […]
How To Push Docker Images To Docker Hub Repository Using Docker Maven plugin
Push a Docker image to DockerHub using docker maven plugin fabric8.io Introduction If you want to push a docker image to Docker Hub repository, it can be achieved using docker maven plugin from fabric8.io. This plugin lets you build images, start and stop containers and push it to Docker repositories In case you are wondering […]
Exception – How to resolve com.sun.xml.internal.ws.client.sei.SEIStub cannot be cast to org.apache.cxf.frontend.ClientProxy
Exception I got this exception while using Apache CXF service. I was trying to use cxf endpoint to add some interceptors as shown on apache page.
1 2 3 4 5 | org.apache.cxf.endpoint.Client client = org.apache.cxf.frontend.ClientProxy.getClient(port); org.apache.cxf.endpoint.Endpoint cxfEndpoint = client.getEndpoint(); |
But I was getting this exception continously
1 2 3 4 | Caused by: java.lang.ClassCastException: com.sun.xml.internal.ws.client.sei.SEIStub cannot be cast to org.apache.cxf.frontend.ClientProxy |
I had added the following dependencies in my POM
1 2 3 4 5 6 7 8 9 10 11 | <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-simple</artifactId> <version>${cxf.version}</version> </dependency> |
The error got resolved when I changed it to
1 2 3 4 5 6 7 8 9 10 11 | <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version> </dependency> |
[…]
How to Learn Scala easily and quickly for beginners
7 steps to learn Scala easily and quickly for beginners Scala is in vogue and is here to stay. It is a typesafe JVM language which imbibes both functional and object oriented paradigms nicely. Scala is also a functional language which encourages immutable collections by default. In my experience, I have found Scala to be Concise […]
How To Create A Spring Boot REST Microservice with Docker
Step-By-Step Guide To Create A Spring Boot MVC Microservice With Docker SpringBoot is a popular spring framework capable of running as a standalone executable. It fits well in microservices architecture where each service is supposed to be running independently. In Docker, each Microservice(Spring Boot rest service) can be installed in a separate container and accessed […]
Build and deploy Docker Image with Docker Maven plugin
Build a Docker Image and Run a Docker Container with docker maven plugin fabric8.io Introduction The maven plugin for docker fabric8io/docker-maven-plugin helps us in building docker images and running containers. In case you are thinking about the difference between an image and container then please note that a running image is called container. In this […]
How to map domain name to Amazon AWS EC2 instance
Map domain name from GoDaddy to Amazon EC2 instance. Introduction If you want to associate your domain name with Amazon EC2 instance for which provider is different than Amazon Route 53 like GoDaddy, BlueHost etc.The easiest way is to do IP address forwarding where you just forward the incoming requests to Elastic IP provided by […]