Category Archives: eclipse

Git Storing credentials failed No password provided in eclipse

Problem : 
Storing credentials failed No password provided
I am trying to clone repository from the github while pull it ask for password Then, and i entered wrong password ans store in secure wallet of eclipse Now when I tried to fetch or pull i got the error “not authorized”
However, when I used the advice and clicked “Change Credentials” or “remove credentials” I received the following error:
“Storing credentials failed No password provided”
Solution :
if you are using eclipse then you can solve this problem by following these steps.
Preferences > General > Security > Secure Storage > Contents
delete everything from the content tab
Now try again to pull from repository
enter your correct password and store in secure wallet storage of eclipse.
Hope this will work for you.

94 total views, no views today

Install cucumber plugin in eclipse

If you are trying to install Cucumber Eclipse Plugin from eclipse market place then it might not work for you as it is not the main cucumber plugin for running the test as BDD. Even this is not a mandatory plugin but it is quite handy ,and your feauture file look like plain text.

Install Cucumber Eclipse Plugin
It is easy to install Cucumber Eclipse Plugin, as it comes as a plugin for Eclipse IDE. 

Steps to follow:

1) Launch the Eclipse IDE and from Help menu, click “Install New Software”.

2) You will see a dialog window, click “Add” button.

3) Type name as you wish, let’s assume “Cucumber plugin” and location “”. Click OK.

4) You come back to the previous window but this time you must see Cucumber Eclipse Plugin option in the available software list. Just Check the box and press “Next” button.

5) select and check Cucumber Eclipse Plugin from the list and click Next.

6) Click “I accept the terms of the license agreement” then click Finish.

7) Let it install, it will take few seconds to complete.

few more next and ok and installation part is done for cucumber plugin.

80 total views, no views today

java.lang.object cannot be resolved / javax.cache.Cache cannot be resolved. It is indirectly referenced from required .class files

Problem Statements :
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
line 1
Java Problem
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
Java Problem
The method myMethod(SomeClass) from the type MyOtherClass refers to the missing type (insert java type here: InputStream|File|Vector|IOException|etc)
line 123
Java Problem

Solutions : 

  • Close the project and reopen it.
  • Clean the project (It will rebuild the buildpath hence reconfiguring with the JDK libraries)
  • Delete and Re-import the project and if necessary do the above steps again.
The following steps could help:
  1. Right-click on project » Properties » Java Build Path
  2. Select Libraries tab
  3. Find the JRE System Library and remove it
  4. Click Add Library… button at right side » Add the JRE System Library (Workspace default JRE)

Add this  entry in your POM.xml file






76 total views, no views today

How to hot deploy your code on Remote Debugging.

Make sure you have check this.
1) If you run your application in eclipse using the launch configuration
Is your “Project” – “Build Automatically” flag enabled? If not, the code is not compiled and ignored at runtime.
Follow these steps to debug in Remote debug mode.
Go to :-
yourProject  –> Debug as –> debug configuration…
1 .DoubleClick on Remote java application 
2. Set port in the connect Tab.

click OK and select the appropriate project you want to debug. Click Ok and then click debug.

Hot deploy has supported the code changes in the method implementation only. If you add a new class or a new method, restart is still required.

You are done with the Hot Deploy of remote application.

77 total views, no views today

Eclipse debugger waiting to connect when running through remote application.

Many a time happen that you are trying to connect your eclipse debugger through remote application server like JBOSS and it always shows waiting to connect.
This happens because the port you are trying to connect is bind to some another application.

Find and listening port

1. Go to run
2. Type cmd
3. Write this command ———– 

netstat -ano | find "<port>"

*<port> you are trying to listen in my case this is 8080
you will get a list of process listening to that port

4. Kill all the task 

write this command 

taskkill /F /PID 7820

7820– This is the Id which you can see in the last coloumn

That’s it your port is free to use now.

80 total views, no views today