Closed achillesliu closed 4 months ago
Thanks for catching the bug in our documentation. The command you need is: java -DoutputDir=
I got
Error: Could not find or load main class util.RunTurtleSingleAnalysis Caused by: java.lang.ClassNotFoundException: util.RunTurtleSingleAnalysis
with running the command you proposed.
Searched the issues, in #9 it's mentioned wrong file downloaded. But I found only one download link for the jar.
I think you might have done only some of the instructions? After downloading that jar, the instructions also say the following:
cd scripts bash setup.sh
that setup should build the jars you need. I just tried it and it worked for me. Let me know if it fails for you.
I still have the same issue as @achillesliu even though I followed the instructions( including cd scripts /bash setup.sh ) and I can see the installation of the jar and I'm having a successful build.
@Amani-kintsugy could you please be more specific - you do have a codebreaker3 jar but you have a class not found? Please note that I made a mistake above - the jar file should be what is in the instructions, not one of the codebreaker prereq jars. Thanks
a successful build should have built codebreaker_py{2,2}... look for jar files in the target directories of those projects. I just checked and they exist for me.
they do exist for me too
@Amani-kintsugy could you please be more specific - you do have a codebreaker3 jar but you have a class not found? Please note that I made a mistake above - the jar file should be what is in the instructions, not one of the codebreaker prereq jars. Thanks
no, I don't have a jars/codebreaker3.jar, jars directory is empty
also, am I understanding you right, do you mean that
java -DoutputDir= -cp ./code_breaker_prereq_py3/target/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar util.RunTurtleSingleAnalysis null null
is not correct and should be :
java -DoutputDir= -cp ./code_breaker_py3/target/CodeBreaker_Py3-0.0.1-SNAPSHOT.jar util.RunTurtleSingleAnalysis null null
or the exact same as the documentation ??
tried them all and they gave me
Error: Could not find or load main class util.RunTurtleSingleAnalysis Caused by: java.lang.ClassNotFoundException: util.RunTurtleSingleAnalysis
thanks
I just checked, and the class is in the jar when I build it. Keep in mind that there is no error when the jar is not found, so check that ./code_breaker_py3/target/CodeBreaker_Py3-0.0.1-SNAPSHOT.jar
exists; if you are in the scripts
dir, the jar file would be ../
I think you might have done only some of the instructions? After downloading that jar, the instructions also say the following:
cd scripts bash setup.sh
that setup should build the jars you need. I just tried it and it worked for me. Let me know if it fails for you.
I see. The codebreaker3.jar
should be a result from the setup.sh
, but not downloaded.
I re-ran the setup.sh
file and looked for codebreaker3.jar
. I found one in /dataRinse/test
. But this file is last modified at 2024-03-26
. Appearently not the result of my re-ran of setup.sh
.
I tried it and it works. But don't know why the running of the script didn't work out. I paste the log for running bash setup.sh
in scripts
folder below.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_prereq/target/CodeBreakerPrereq-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerPrereq/0.0.1-SNAPSHOT/CodeBreakerPrereq-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_prereq/CodeBreakerPrereq-0.0.1-SNAPSHOT.pom to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerPrereq/0.0.1-SNAPSHOT/CodeBreakerPrereq-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.253 s
[INFO] Finished at: 2024-04-15T10:39:45Z
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_base/target/CodeBreakerBase-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerBase/0.0.1-SNAPSHOT/CodeBreakerBase-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_base/CodeBreakerBase-0.0.1-SNAPSHOT.pom to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerBase/0.0.1-SNAPSHOT/CodeBreakerBase-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.236 s
[INFO] Finished at: 2024-04-15T10:39:46Z
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_prereq_py2/target/CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerPrereqPy2/0.0.1-SNAPSHOT/CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_prereq_py2/CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.pom to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerPrereqPy2/0.0.1-SNAPSHOT/CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.231 s
[INFO] Finished at: 2024-04-15T10:39:47Z
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_prereq_py3/target/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerPrereqPy3/0.0.1-SNAPSHOT/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_prereq_py3/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.pom to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreakerPrereqPy3/0.0.1-SNAPSHOT/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.274 s
[INFO] Finished at: 2024-04-15T10:39:48Z
[INFO] ------------------------------------------------------------------------
~/projects_asseco/graph4code/code_breaker ~/projects_asseco/graph4code/scripts
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< CodeKnowledgeGraph:CodeBreaker >-------------------
[INFO] Building com.ibm.wala.cast.lsp.codeBreaker 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ CodeBreaker ---
[INFO] Deleting /home/bo/projects_asseco/graph4code/code_breaker/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ CodeBreaker ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ CodeBreaker ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 60 source files to /home/bo/projects_asseco/graph4code/code_breaker/target/classes
[INFO] /home/bo/projects_asseco/graph4code/code_breaker/src/main/java/com/ibm/wala/codeBreaker/turtle/PythonTurtleCoverage.java: Some input files use or override a deprecated API.
[INFO] /home/bo/projects_asseco/graph4code/code_breaker/src/main/java/com/ibm/wala/codeBreaker/turtle/PythonTurtleCoverage.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/bo/projects_asseco/graph4code/code_breaker/src/main/java/com/ibm/wala/codeBreaker/turtle/PythonTurtleAnalysisEngine.java: Some input files use unchecked or unsafe operations.
[INFO] /home/bo/projects_asseco/graph4code/code_breaker/src/main/java/com/ibm/wala/codeBreaker/turtle/PythonTurtleAnalysisEngine.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ CodeBreaker ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ CodeBreaker ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 17 source files to /home/bo/projects_asseco/graph4code/code_breaker/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ CodeBreaker ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ CodeBreaker ---
[INFO] Building jar: /home/bo/projects_asseco/graph4code/code_breaker/target/CodeBreaker-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ CodeBreaker ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker/target/CodeBreaker-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker/0.0.1-SNAPSHOT/CodeBreaker-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker/pom.xml to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker/0.0.1-SNAPSHOT/CodeBreaker-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.365 s
[INFO] Finished at: 2024-04-15T10:39:53Z
[INFO] ------------------------------------------------------------------------
~/projects_asseco/graph4code/scripts
~/projects_asseco/graph4code/code_breaker_py2 ~/projects_asseco/graph4code/scripts
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< CodeKnowledgeGraph:CodeBreaker_py2 >-----------------
[INFO] Building com.ibm.wala.cast.lsp.codeBreaker.py2 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ CodeBreaker_py2 ---
[INFO] Deleting /home/bo/projects_asseco/graph4code/code_breaker_py2/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ CodeBreaker_py2 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/bo/projects_asseco/graph4code/code_breaker_py2/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ CodeBreaker_py2 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ CodeBreaker_py2 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/bo/projects_asseco/graph4code/code_breaker_py2/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ CodeBreaker_py2 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ CodeBreaker_py2 ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ CodeBreaker_py2 ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:3.1.1:single (assemble-all) @ CodeBreaker_py2 ---
[INFO] Building jar: /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT-jar-with-dependencies.jar
[INFO]
[INFO] --- maven-shade-plugin:2.3:shade (default) @ CodeBreaker_py2 ---
[INFO] Including CodeKnowledgeGraph:CodeBreaker:jar:0.0.1-SNAPSHOT in the shaded jar.
[INFO] Including co.elastic.clients:elasticsearch-java:jar:8.2.3 in the shaded jar.
[INFO] Including org.elasticsearch.client:elasticsearch-rest-client:jar:8.2.3 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpclient:jar:4.5.10 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpcore:jar:4.4.12 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpasyncclient:jar:4.1.4 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpcore-nio:jar:4.4.12 in the shaded jar.
[INFO] Including commons-codec:commons-codec:jar:1.14 in the shaded jar.
[INFO] Including commons-logging:commons-logging:jar:1.1.3 in the shaded jar.
[INFO] Including com.google.code.findbugs:jsr305:jar:3.0.2 in the shaded jar.
[INFO] Including jakarta.json:jakarta.json-api:jar:2.0.1 in the shaded jar.
[INFO] Including org.eclipse.parsson:parsson:jar:1.0.0 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.12.3 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.12.3 in the shaded jar.
[INFO] Including org.json:json:jar:20230227 in the shaded jar.
[INFO] Including CodeKnowledgeGraph:CodeBreakerPrereqPy2:jar:0.0.1-SNAPSHOT in the shaded jar.
[WARNING] jackson-annotations-2.12.3.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 71 overlappping classes:
[WARNING] - com.fasterxml.jackson.annotation.JsonAutoDetect
[WARNING] - com.fasterxml.jackson.annotation.JsonInclude
[WARNING] - com.fasterxml.jackson.annotation.ObjectIdGenerators
[WARNING] - com.fasterxml.jackson.annotation.JsonFormat$Features
[WARNING] - com.fasterxml.jackson.annotation.JsonFormat$Feature
[WARNING] - com.fasterxml.jackson.annotation.JsonIgnore
[WARNING] - com.fasterxml.jackson.annotation.JsonSetter
[WARNING] - com.fasterxml.jackson.annotation.JsonTypeInfo$None
[WARNING] - com.fasterxml.jackson.annotation.JsonFormat$Shape
[WARNING] - com.fasterxml.jackson.annotation.JsonManagedReference
[WARNING] - 61 more...
[WARNING] httpclient-4.5.10.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 468 overlappping classes:
[WARNING] - org.apache.http.impl.cookie.RFC2109Spec
[WARNING] - org.apache.http.impl.execchain.MainClientExec
[WARNING] - org.apache.http.conn.routing.RouteInfo$TunnelType
[WARNING] - org.apache.http.client.methods.HttpGet
[WARNING] - org.apache.http.impl.cookie.BrowserCompatSpecFactory
[WARNING] - org.apache.http.impl.client.HttpAuthenticator
[WARNING] - org.apache.http.conn.ManagedClientConnection
[WARNING] - org.apache.http.client.protocol.RequestAuthCache
[WARNING] - org.apache.http.conn.params.ConnConnectionParamBean
[WARNING] - org.apache.http.impl.client.IdleConnectionEvictor
[WARNING] - 458 more...
[WARNING] jackson-databind-2.12.3.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 700 overlappping classes:
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotationCollector$NoAnnotations
[WARNING] - com.fasterxml.jackson.databind.jsontype.BasicPolymorphicTypeValidator$Builder
[WARNING] - com.fasterxml.jackson.databind.BeanDescription
[WARNING] - com.fasterxml.jackson.databind.SerializerProvider
[WARNING] - com.fasterxml.jackson.databind.deser.impl.BeanAsArrayBuilderDeserializer
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotatedMethodMap
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotationCollector$OneAnnotation
[WARNING] - com.fasterxml.jackson.databind.ser.std.StaticListSerializerBase
[WARNING] - com.fasterxml.jackson.databind.ser.std.NumberSerializers$ShortSerializer
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotationCollector$TwoAnnotations
[WARNING] - 690 more...
[WARNING] jackson-core-2.12.3.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 124 overlappping classes:
[WARNING] - com.fasterxml.jackson.core.JsonGenerator$Feature
[WARNING] - com.fasterxml.jackson.core.json.JsonReadFeature
[WARNING] - com.fasterxml.jackson.core.util.ThreadLocalBufferManager$ThreadLocalBufferManagerHolder
[WARNING] - com.fasterxml.jackson.core.io.SegmentedStringWriter
[WARNING] - com.fasterxml.jackson.core.util.Separators
[WARNING] - com.fasterxml.jackson.core.TreeNode
[WARNING] - com.fasterxml.jackson.core.sym.Name
[WARNING] - com.fasterxml.jackson.core.util.RequestPayload
[WARNING] - com.fasterxml.jackson.core.util.JsonGeneratorDelegate
[WARNING] - com.fasterxml.jackson.core.async.NonBlockingInputFeeder
[WARNING] - 114 more...
[WARNING] parsson-1.0.0.jar, jackson-databind-2.12.3.jar, jakarta.json-api-2.0.1.jar, jackson-annotations-2.12.3.jar, jackson-core-2.12.3.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 1 overlappping classes:
[WARNING] - module-info
[WARNING] commons-logging-1.1.3.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 6 overlappping classes:
[WARNING] - org.apache.commons.logging.impl.SimpleLog$1
[WARNING] - org.apache.commons.logging.Log
[WARNING] - org.apache.commons.logging.impl.SimpleLog
[WARNING] - org.apache.commons.logging.LogConfigurationException
[WARNING] - org.apache.commons.logging.impl.NoOpLog
[WARNING] - org.apache.commons.logging.LogFactory
[WARNING] commons-codec-1.14.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 102 overlappping classes:
[WARNING] - org.apache.commons.codec.language.bm.Rule$1
[WARNING] - org.apache.commons.codec.language.bm.BeiderMorseEncoder
[WARNING] - org.apache.commons.codec.cli.Digest
[WARNING] - org.apache.commons.codec.language.bm.Languages$1
[WARNING] - org.apache.commons.codec.digest.PureJavaCrc32
[WARNING] - org.apache.commons.codec.digest.DigestUtils
[WARNING] - org.apache.commons.codec.language.DaitchMokotoffSoundex$Rule
[WARNING] - org.apache.commons.codec.language.Caverphone
[WARNING] - org.apache.commons.codec.language.AbstractCaverphone
[WARNING] - org.apache.commons.codec.digest.MurmurHash3$IncrementalHash32
[WARNING] - 92 more...
[WARNING] jsr305-3.0.2.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 35 overlappping classes:
[WARNING] - javax.annotation.RegEx
[WARNING] - javax.annotation.concurrent.Immutable
[WARNING] - javax.annotation.meta.TypeQualifierDefault
[WARNING] - javax.annotation.meta.TypeQualifier
[WARNING] - javax.annotation.Syntax
[WARNING] - javax.annotation.CheckForNull
[WARNING] - javax.annotation.Nonnull
[WARNING] - javax.annotation.CheckReturnValue
[WARNING] - javax.annotation.meta.TypeQualifierNickname
[WARNING] - javax.annotation.MatchesPattern
[WARNING] - 25 more...
[WARNING] json-20230227.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 25 overlappping classes:
[WARNING] - org.json.JSONPropertyName
[WARNING] - org.json.HTTPTokener
[WARNING] - org.json.HTTP
[WARNING] - org.json.JSONObject
[WARNING] - org.json.JSONPointer$Builder
[WARNING] - org.json.JSONWriter
[WARNING] - org.json.JSONObject$1
[WARNING] - org.json.JSONArray
[WARNING] - org.json.JSONPointer
[WARNING] - org.json.JSONString
[WARNING] - 15 more...
[WARNING] httpcore-4.4.12.jar, CodeBreakerPrereqPy2-0.0.1-SNAPSHOT.jar define 253 overlappping classes:
[WARNING] - org.apache.http.protocol.HttpRequestHandler
[WARNING] - org.apache.http.impl.io.ChunkedOutputStream
[WARNING] - org.apache.http.protocol.ChainBuilder
[WARNING] - org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
[WARNING] - org.apache.http.impl.ConnSupport
[WARNING] - org.apache.http.impl.io.DefaultHttpResponseParserFactory
[WARNING] - org.apache.http.HttpClientConnection
[WARNING] - org.apache.http.NameValuePair
[WARNING] - org.apache.http.protocol.HttpExpectationVerifier
[WARNING] - org.apache.http.impl.io.AbstractMessageWriter
[WARNING] - 243 more...
[WARNING] maven-shade-plugin has detected that some .class files
[WARNING] are present in two or more JARs. When this happens, only
[WARNING] one single version of the class is copied in the uberjar.
[WARNING] Usually this is not harmful and you can skeep these
[WARNING] warnings, otherwise try to manually exclude artifacts
[WARNING] based on mvn dependency:tree -Ddetail=true and the above
[WARNING] output
[WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT.jar with /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT-shaded.jar
[INFO] Replacing original source artifact with shaded source artifact.
[INFO] Replacing /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT-sources.jar with /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT-shaded-sources.jar
[INFO] Dependency-reduced POM written at: /home/bo/projects_asseco/graph4code/code_breaker_py2/dependency-reduced-pom.xml
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ CodeBreaker_py2 ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py2/0.0.1-SNAPSHOT/CodeBreaker_py2-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py2/dependency-reduced-pom.xml to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py2/0.0.1-SNAPSHOT/CodeBreaker_py2-0.0.1-SNAPSHOT.pom
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT-jar-with-dependencies.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py2/0.0.1-SNAPSHOT/CodeBreaker_py2-0.0.1-SNAPSHOT-jar-with-dependencies.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT-sources.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py2/0.0.1-SNAPSHOT/CodeBreaker_py2-0.0.1-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-war-plugin:3.2.2:war (build-war) @ CodeBreaker_py2 ---
[INFO] Packaging webapp
[INFO] Assembling webapp [CodeBreaker_py2] in [/home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in [90 msecs]
[INFO] Building war: /home/bo/projects_asseco/graph4code/code_breaker_py2/target/CodeBreaker_py2-0.0.1-SNAPSHOT.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.099 s
[INFO] Finished at: 2024-04-15T10:40:16Z
[INFO] ------------------------------------------------------------------------
~/projects_asseco/graph4code/scripts
~/projects_asseco/graph4code/code_breaker_py3 ~/projects_asseco/graph4code/scripts
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< CodeKnowledgeGraph:CodeBreaker_py3 >-----------------
[INFO] Building com.ibm.wala.cast.lsp.codeBreaker.py3 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ CodeBreaker_py3 ---
[INFO] Deleting /home/bo/projects_asseco/graph4code/code_breaker_py3/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ CodeBreaker_py3 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/bo/projects_asseco/graph4code/code_breaker_py3/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ CodeBreaker_py3 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /home/bo/projects_asseco/graph4code/code_breaker_py3/target/classes
[INFO] /home/bo/projects_asseco/graph4code/code_breaker_py3/src/main/java/ai3693/JythonTokenizer.java: /home/bo/projects_asseco/graph4code/code_breaker_py3/src/main/java/ai3693/JythonTokenizer.java uses unchecked or unsafe operations.
[INFO] /home/bo/projects_asseco/graph4code/code_breaker_py3/src/main/java/ai3693/JythonTokenizer.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ CodeBreaker_py3 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/bo/projects_asseco/graph4code/code_breaker_py3/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ CodeBreaker_py3 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ CodeBreaker_py3 ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ CodeBreaker_py3 ---
[INFO] Building jar: /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:2.3:shade (default) @ CodeBreaker_py3 ---
[INFO] Including CodeKnowledgeGraph:CodeBreaker:jar:0.0.1-SNAPSHOT in the shaded jar.
[INFO] Including co.elastic.clients:elasticsearch-java:jar:8.2.3 in the shaded jar.
[INFO] Including org.elasticsearch.client:elasticsearch-rest-client:jar:8.2.3 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpclient:jar:4.5.10 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpcore:jar:4.4.12 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpasyncclient:jar:4.1.4 in the shaded jar.
[INFO] Including org.apache.httpcomponents:httpcore-nio:jar:4.4.12 in the shaded jar.
[INFO] Including commons-codec:commons-codec:jar:1.14 in the shaded jar.
[INFO] Including commons-logging:commons-logging:jar:1.1.3 in the shaded jar.
[INFO] Including com.google.code.findbugs:jsr305:jar:3.0.2 in the shaded jar.
[INFO] Including jakarta.json:jakarta.json-api:jar:2.0.1 in the shaded jar.
[INFO] Including org.eclipse.parsson:parsson:jar:1.0.0 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.12.3 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.12.3 in the shaded jar.
[INFO] Including org.json:json:jar:20230227 in the shaded jar.
[INFO] Including CodeKnowledgeGraph:CodeBreakerPrereqPy3:jar:0.0.1-SNAPSHOT in the shaded jar.
[WARNING] jackson-databind-2.12.3.jar, CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar define 700 overlappping classes:
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotationCollector$NoAnnotations
[WARNING] - com.fasterxml.jackson.databind.jsontype.BasicPolymorphicTypeValidator$Builder
[WARNING] - com.fasterxml.jackson.databind.BeanDescription
[WARNING] - com.fasterxml.jackson.databind.SerializerProvider
[WARNING] - com.fasterxml.jackson.databind.deser.impl.BeanAsArrayBuilderDeserializer
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotatedMethodMap
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotationCollector$OneAnnotation
[WARNING] - com.fasterxml.jackson.databind.ser.std.StaticListSerializerBase
[WARNING] - com.fasterxml.jackson.databind.ser.std.NumberSerializers$ShortSerializer
[WARNING] - com.fasterxml.jackson.databind.introspect.AnnotationCollector$TwoAnnotations
[WARNING] - 690 more...
[WARNING] CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar, json-20230227.jar define 25 overlappping classes:
[WARNING] - org.json.JSONPropertyName
[WARNING] - org.json.HTTPTokener
[WARNING] - org.json.HTTP
[WARNING] - org.json.JSONObject
[WARNING] - org.json.JSONPointer$Builder
[WARNING] - org.json.JSONWriter
[WARNING] - org.json.JSONObject$1
[WARNING] - org.json.JSONArray
[WARNING] - org.json.JSONPointer
[WARNING] - org.json.JSONString
[WARNING] - 15 more...
[WARNING] CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar, jackson-core-2.12.3.jar define 124 overlappping classes:
[WARNING] - com.fasterxml.jackson.core.JsonGenerator$Feature
[WARNING] - com.fasterxml.jackson.core.json.JsonReadFeature
[WARNING] - com.fasterxml.jackson.core.util.ThreadLocalBufferManager$ThreadLocalBufferManagerHolder
[WARNING] - com.fasterxml.jackson.core.io.SegmentedStringWriter
[WARNING] - com.fasterxml.jackson.core.util.Separators
[WARNING] - com.fasterxml.jackson.core.TreeNode
[WARNING] - com.fasterxml.jackson.core.sym.Name
[WARNING] - com.fasterxml.jackson.core.util.RequestPayload
[WARNING] - com.fasterxml.jackson.core.util.JsonGeneratorDelegate
[WARNING] - com.fasterxml.jackson.core.async.NonBlockingInputFeeder
[WARNING] - 114 more...
[WARNING] parsson-1.0.0.jar, jackson-databind-2.12.3.jar, jakarta.json-api-2.0.1.jar, jackson-annotations-2.12.3.jar, CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar, jackson-core-2.12.3.jar define 1 overlappping classes:
[WARNING] - module-info
[WARNING] httpcore-4.4.12.jar, CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar define 253 overlappping classes:
[WARNING] - org.apache.http.protocol.HttpRequestHandler
[WARNING] - org.apache.http.impl.io.ChunkedOutputStream
[WARNING] - org.apache.http.protocol.ChainBuilder
[WARNING] - org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
[WARNING] - org.apache.http.impl.ConnSupport
[WARNING] - org.apache.http.impl.io.DefaultHttpResponseParserFactory
[WARNING] - org.apache.http.HttpClientConnection
[WARNING] - org.apache.http.NameValuePair
[WARNING] - org.apache.http.protocol.HttpExpectationVerifier
[WARNING] - org.apache.http.impl.io.AbstractMessageWriter
[WARNING] - 243 more...
[WARNING] CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar, httpclient-4.5.10.jar define 468 overlappping classes:
[WARNING] - org.apache.http.impl.cookie.RFC2109Spec
[WARNING] - org.apache.http.impl.execchain.MainClientExec
[WARNING] - org.apache.http.conn.routing.RouteInfo$TunnelType
[WARNING] - org.apache.http.client.methods.HttpGet
[WARNING] - org.apache.http.impl.cookie.BrowserCompatSpecFactory
[WARNING] - org.apache.http.impl.client.HttpAuthenticator
[WARNING] - org.apache.http.conn.ManagedClientConnection
[WARNING] - org.apache.http.client.protocol.RequestAuthCache
[WARNING] - org.apache.http.conn.params.ConnConnectionParamBean
[WARNING] - org.apache.http.impl.client.IdleConnectionEvictor
[WARNING] - 458 more...
[WARNING] CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar, commons-logging-1.1.3.jar define 6 overlappping classes:
[WARNING] - org.apache.commons.logging.impl.SimpleLog$1
[WARNING] - org.apache.commons.logging.Log
[WARNING] - org.apache.commons.logging.impl.SimpleLog
[WARNING] - org.apache.commons.logging.LogConfigurationException
[WARNING] - org.apache.commons.logging.impl.NoOpLog
[WARNING] - org.apache.commons.logging.LogFactory
[WARNING] commons-codec-1.14.jar, CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar define 102 overlappping classes:
[WARNING] - org.apache.commons.codec.language.bm.Rule$1
[WARNING] - org.apache.commons.codec.language.bm.BeiderMorseEncoder
[WARNING] - org.apache.commons.codec.cli.Digest
[WARNING] - org.apache.commons.codec.language.bm.Languages$1
[WARNING] - org.apache.commons.codec.digest.PureJavaCrc32
[WARNING] - org.apache.commons.codec.digest.DigestUtils
[WARNING] - org.apache.commons.codec.language.DaitchMokotoffSoundex$Rule
[WARNING] - org.apache.commons.codec.language.Caverphone
[WARNING] - org.apache.commons.codec.language.AbstractCaverphone
[WARNING] - org.apache.commons.codec.digest.MurmurHash3$IncrementalHash32
[WARNING] - 92 more...
[WARNING] jackson-annotations-2.12.3.jar, CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar define 71 overlappping classes:
[WARNING] - com.fasterxml.jackson.annotation.JsonAutoDetect
[WARNING] - com.fasterxml.jackson.annotation.JsonInclude
[WARNING] - com.fasterxml.jackson.annotation.ObjectIdGenerators
[WARNING] - com.fasterxml.jackson.annotation.JsonFormat$Features
[WARNING] - com.fasterxml.jackson.annotation.JsonFormat$Feature
[WARNING] - com.fasterxml.jackson.annotation.JsonIgnore
[WARNING] - com.fasterxml.jackson.annotation.JsonSetter
[WARNING] - com.fasterxml.jackson.annotation.JsonTypeInfo$None
[WARNING] - com.fasterxml.jackson.annotation.JsonFormat$Shape
[WARNING] - com.fasterxml.jackson.annotation.JsonManagedReference
[WARNING] - 61 more...
[WARNING] maven-shade-plugin has detected that some .class files
[WARNING] are present in two or more JARs. When this happens, only
[WARNING] one single version of the class is copied in the uberjar.
[WARNING] Usually this is not harmful and you can skeep these
[WARNING] warnings, otherwise try to manually exclude artifacts
[WARNING] based on mvn dependency:tree -Ddetail=true and the above
[WARNING] output
[WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT.jar with /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT-shaded.jar
[INFO] Replacing original source artifact with shaded source artifact.
[INFO] Replacing /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT-sources.jar with /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT-shaded-sources.jar
[INFO] Dependency-reduced POM written at: /home/bo/projects_asseco/graph4code/code_breaker_py3/dependency-reduced-pom.xml
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ CodeBreaker_py3 ---
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py3/0.0.1-SNAPSHOT/CodeBreaker_py3-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py3/dependency-reduced-pom.xml to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py3/0.0.1-SNAPSHOT/CodeBreaker_py3-0.0.1-SNAPSHOT.pom
[INFO] Installing /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT-sources.jar to /home/bo/.m2/repository/CodeKnowledgeGraph/CodeBreaker_py3/0.0.1-SNAPSHOT/CodeBreaker_py3-0.0.1-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-war-plugin:3.2.2:war (build-war) @ CodeBreaker_py3 ---
[INFO] Packaging webapp
[INFO] Assembling webapp [CodeBreaker_py3] in [/home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in [75 msecs]
[INFO] Building war: /home/bo/projects_asseco/graph4code/code_breaker_py3/target/CodeBreaker_py3-0.0.1-SNAPSHOT.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.301 s
[INFO] Finished at: 2024-04-15T10:40:26Z
[INFO] ------------------------------------------------------------------------
~/projects_asseco/graph4code/scripts
@achillesliu please look at the latest instructions on how to run - the issue was that codebreaker3 got renamed and we forgot to update the instructions - @juliandolby updated the instructions yesterday.
Hi, I followed the tutorial to download but didn't find the
jars/codebreaker3.jar
file.I've read some of the closed issues, stating that download the
graph4code_prereq_jars.tar
solves the problem. But for me downloading the file only give .No sign of the mentioned file. Am I doing something wrong or missing?