"No suitable context factory found" error in GraphWalker

0 votes
asked Nov 25, 2016 in SWSV by micskeiz (2,873 points)  

When running GraphWalker 3.4.2 on the home assignment application you can get the error message "No suitable context factory found" in the Maven output for the graphwalker:generate-test-sources goal.

1 Answer

0 votes
answered Nov 25, 2016 by micskeiz (2,873 points)  

GraphWalker goes through all files in the src/test/resources folder, and tries to see whether it can work with that file (is it a graphml, json or dot file). It has so called context factories for all these different file extensions.

The above message simply means that it could not find a suitable factory based on the extension of the currently analyzed file.

If it only happens once, this can be ignored as the application has a logback.xml file in the resources folder, and the message says that graphwalker will not handle that file.

commented Apr 21, 2017 by sally (20 points)  
I am facing the same problem , how can I solve it ?!
thanks in advanced