-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR - ERROR MutationSupporter - HttpServlet cannot be resolved to a type #358
Comments
Hi @juliamanfrindias, I’ve just encountered this error. I know it’s been a long time, but were you able to resolve this issue? |
this is maybe because the classpath of the program under repair is not set, see option reference: https://github.com/SpoonLabs/astor/blob/master/docs/getting-starting.md |
Thank you for you response, @monperrus . These programs use Maven/Gradle to manage their dependencies. So we have to extract and list them all in the --dependencies argument. |
Hi @monperrus , I have encountered this error, although Maven (Java 8) can compile the source code, but Spoon cannot. Do you know what the problem might be?
|
yes.
it seems there is the wrong Java version flag set for Spoon. |
Reading again the error quickly:
It seems that the dependency containing SqlMapClientImpl is not in the |
I used the command |
In which jar file can you find SqlMapClientImpl? |
I confirmed that it is included in 'ibatis-sqlmap-2.3.4.726.jar' and ensured the project successfully compiles and tests on Maven. |
I ran this command in astor, using the defects4j's Bug Charts:
java -cp /home/julia/mestrado/teste/astor_bkp/target/astor-2.0.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jKali -location /home/julia/mestrado/ test/Bugs/Chart-1 -maxtime 120 -mode statement -package org.apache.commons -jvm4testexecution /usr/lib/jvm/java-8-openjdk-amd64/bin/ -srcjavafolder /src/java/ -srctestfolder /src /test/ -binjavafolder /target/classes -bintestfolder /target/test-classes -flthreshold 0.5 -stopfirst true -faultlocalization CoCoSpoon -allpoints true -dependencies /home/julia/mestrado/teste/astor_bkp/astor/examples/libs/junit- 4.4.jar
And I had this error:
How do I solve this?
The text was updated successfully, but these errors were encountered: