Skip to main content

How to fix – Execution build and start of goal io.fabric8:docker-maven-plugin:0.20.0:build failed: A tar file cannot include itself

How to fix- Execution build and start of goal io.fabric8:docker-maven-plugin:0.20.0:build failed: A tar file cannot include itself. Introduction When using fabric8:docker-maven-plugin I got this error and below fix helped me to fix this. I assume this error occurs when you use dockerFileDir or dockerFile tag in maven plugin, it seems the tar file which is […]

Read More

How to change the default spring social redirect page flow

How to fix spring boot and spring social redirection to facebookConnected.html twitterConnected.html,linkedInconnected.html or googleConnected.html Introduction Spring Boot when plugged with Spring social does provide a quick and easy way to log on to social providers and access the data quickly. However, it does have lot of shortcomings too like Supporting only single user sign per […]

Read More

How to fix org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied

How to fix – org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied: I encountered this error when trying to call a secure web service which had username password authentication along with Timestamp authentication. Exception I got following exception when I was calling secure web service

  Following steps helped me fix this problem, hope it […]

Read More

How to access google data using spring-social and spring boot

How to access google data using spring-social Introduction Spring social do have a spring-social-google project but it doesn’t have autoconfiguration for Google. So google authorization doesn’t work with spring boot autoconfigure straight away. I had created a pull request and merged the code to spring repository but got the following reply Thanks for the PR. […]

Read More

Bitnami